Skip to content

Commit b97bedf

Browse files
Update CNB tools
1 parent a75c73e commit b97bedf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ PACKAGE_DIR=${PACKAGE_DIR:-"${PWD##*/}_$(openssl rand -hex 4)"}
99
full_path=$(realpath "$PACKAGE_DIR")
1010
args=".bin/packager -uncached"
1111

12-
if [ $1 == "-c" ] || [ $2 == "-c" ]; then #package as cached
12+
if [[ $1 == "-c" ]] || [[ $2 == "-c" ]]; then #package as cached
1313
full_path="$full_path-cached"
1414
args=".bin/packager"
1515
fi
1616

17-
if [ $1 == "-a" ] || [ $2 == "-a" ]; then #package as archive
17+
if [[ $1 == "-a" ]] || [[ $2 == "-a" ]]; then #package as archive
1818
args="${args} -archive"
1919
fi
2020
eval "$args $full_path"

0 commit comments

Comments
 (0)