Skip to content

Commit

Permalink
Shellcheck pack.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Oct 30, 2023
1 parent cb7c065 commit cd67b32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ then
exit 1
fi

if [ -z $IMG ]
if [ -z "$IMG" ]
then
IMG="ubuntu/focal"
fi

if [ -z $ARCH ]
if [ -z "$ARCH" ]
then
ARCH="linux/amd64"
else
Expand All @@ -26,10 +26,10 @@ TARGETS=()

for i in "$@" ; do
if [[ $i == "docker" ]] ; then
TARGETS+=($DOCKER_SRC)
TARGETS+=("$DOCKER_SRC")
fi
if [[ $i == "vagrant" ]] ; then
TARGETS+=($VAGRANT_SRC)
TARGETS+=("$VAGRANT_SRC")
fi
done

Expand Down

0 comments on commit cd67b32

Please sign in to comment.