summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-01-07 23:39:41 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:41 +0100
commit8767617f410d3f05b996d4e80f7408f2bb108861 (patch)
treeea1fc9fb23573906dfbebe0b059649965ac84402 /scripts
parentbb1230ba24e2064f57c7063b47e29d77ec214c87 (diff)
downloadvyos-live-build-8767617f410d3f05b996d4e80f7408f2bb108861.tar.gz
vyos-live-build-8767617f410d3f05b996d4e80f7408f2bb108861.zip
Correcting compression handling for tarballs.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_binary_net2
-rwxr-xr-xscripts/build/lb_binary_tar2
-rwxr-xr-xscripts/build/lb_source_tar2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_binary_net b/scripts/build/lb_binary_net
index 9d5e01cef..bd9504f10 100755
--- a/scripts/build/lb_binary_net
+++ b/scripts/build/lb_binary_net
@@ -136,7 +136,7 @@ cd binary.tmp
tar cf ../binary-net.tar *
-case "${_COMPRESSION}" in
+case "${LB_COMPRESSION}" in
bzip2)
bzip2 ${BZIP2_OPTIONS} ../binary-net.tar
;;
diff --git a/scripts/build/lb_binary_tar b/scripts/build/lb_binary_tar
index 183b67f89..026ca2c47 100755
--- a/scripts/build/lb_binary_tar
+++ b/scripts/build/lb_binary_tar
@@ -48,7 +48,7 @@ rm -f binary.tar.bz2 binary.tar.gz binary.tar.lz binary.tar
tar cf binary-tar.tar binary
-case "${_COMPRESSION}" in
+case "${LB_COMPRESSION}" in
bzip2)
bzip2 ${BZIP2_OPTIONS} binary-tar.tar
;;
diff --git a/scripts/build/lb_source_tar b/scripts/build/lb_source_tar
index 56c5ec7cb..16153570f 100755
--- a/scripts/build/lb_source_tar
+++ b/scripts/build/lb_source_tar
@@ -56,7 +56,7 @@ rm -f source.debian-live.tar.bz2 source.debian-live.tar.gz source.debian-live.ta
tar cf source.debian.tar source/debian
tar cf source.debian-live.tar source/debian-live
-case "${_COMPRESSION}" in
+case "${LB_COMPRESSION}" in
bzip2)
bzip2 ${BZIP2_OPTIONS} source.debian.tar
bzip2 ${BZIP2_OPTIONS} source.debian-live.tar