diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-06-27 12:51:23 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-06-27 15:08:20 +0300 |
commit | 2d70fad41fa40c442e5926cd66150b919a59d225 (patch) | |
tree | 80d1e5c6eda549f1e8fc959424b19be6615fc8ac /buildlib.sh | |
parent | 89835cc714dbe0f30e622cad262ee57c09dbfc1f (diff) |
build: cleanup
Diffstat (limited to 'buildlib.sh')
-rw-r--r-- | buildlib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildlib.sh b/buildlib.sh index a6eb82fc..cda68515 100644 --- a/buildlib.sh +++ b/buildlib.sh @@ -289,10 +289,10 @@ function pack_image() local IMG="$1" local TAR="$2" local DIR="$( dirname "$IMG" )" - local IMG="$( basename "$IMG" )" + local IMGNAME="$( basename "$IMG" )" echo -e "\n\e[1m[ Pack Image ]\e[0m" echo "packing $IMG → $TAR" - tar -I pbzip2 -C "$DIR" -cvf "$TAR" "$IMG" && \ + tar -I pbzip2 -C "$DIR" -cvf "$TAR" "$IMGNAME" && \ echo -e "$TAR packed successfully" } |