summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-03-07 19:19:29 +0100
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-03-07 19:35:09 +0100
commit66553e7e07af9261e55c7c287615b61dc080593d (patch)
tree5289ff39792fbfeff3973d2850cae455a439df54
parentcda9cf436b2897b063c1e40efb144404aad8b821 (diff)
downloaddevtools32-66553e7e07af9261e55c7c287615b61dc080593d.tar.xz
lib/archroot.sh: Move CHROOT_VERSION to a common file
-rw-r--r--arch-nspawn.in3
-rw-r--r--lib/archroot.sh1
-rw-r--r--mkarchroot.in3
3 files changed, 3 insertions, 4 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index b5fcc9d..5c0f46f 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -9,8 +9,7 @@
# GNU General Public License for more details.
m4_include(lib/common.sh)
-
-CHROOT_VERSION='v4'
+m4_include(lib/archroot.sh)
working_dir=''
diff --git a/lib/archroot.sh b/lib/archroot.sh
new file mode 100644
index 0000000..25e94fb
--- /dev/null
+++ b/lib/archroot.sh
@@ -0,0 +1 @@
+CHROOT_VERSION='v4'
diff --git a/mkarchroot.in b/mkarchroot.in
index c4bb51a..e03b4f9 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -9,8 +9,7 @@
# GNU General Public License for more details.
m4_include(lib/common.sh)
-
-CHROOT_VERSION='v4'
+m4_include(lib/archroot.sh)
working_dir=''