We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75c73e commit b97bedfCopy full SHA for b97bedf
1 file changed
scripts/package.sh
@@ -9,12 +9,12 @@ PACKAGE_DIR=${PACKAGE_DIR:-"${PWD##*/}_$(openssl rand -hex 4)"}
9
full_path=$(realpath "$PACKAGE_DIR")
10
args=".bin/packager -uncached"
11
12
-if [ $1 == "-c" ] || [ $2 == "-c" ]; then #package as cached
+if [[ $1 == "-c" ]] || [[ $2 == "-c" ]]; then #package as cached
13
full_path="$full_path-cached"
14
args=".bin/packager"
15
fi
16
17
-if [ $1 == "-a" ] || [ $2 == "-a" ]; then #package as archive
+if [[ $1 == "-a" ]] || [[ $2 == "-a" ]]; then #package as archive
18
args="${args} -archive"
19
20
eval "$args $full_path"
0 commit comments