Skip to content

Commit ba3928f

Browse files
now do_compress() take only env varaible
OVERRIDER_COMPRESSION_TYPE
1 parent 97ce42c commit ba3928f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/envsetup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ do_compress() {
284284
export chroot_dir=$1
285285
TARGET_FILE="$(basename ${chroot_dir})"
286286
if [ -n "$OVERRIDER_COMPRESSION_TYPE" ]; then
287-
case $1 in
287+
case $OVERRIDER_COMPRESSION_TYPE in
288288
bzip2) do_tar_bzip ;;
289289
gzip) do_tar_gzip ;;
290290
lz) do_tar_lz4 ;;

0 commit comments

Comments
 (0)