From 91f325ffd422612f6a9b3bf99d3448065ddf91f8 Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Tue, 15 Aug 2023 15:34:15 +0200 Subject: [PATCH] Build script repair --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 04f77ff..0be176a 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) WD=`pwd` # get the current vuejs mode VUEMODE=`$SCRIPTDIR/vuemode.sh query` @@ -11,13 +11,13 @@ fi $SCRIPTDIR/vuemode.sh prod # run the grunt script in the scripts working directory -cd $SCRIPT_DIR +cd $SCRIPTDIR grunt amd # run the build php script -php ${SCRIPT_DIR}/build.php $@ +php ${SCRIPTDIR}/build.php $@ -if [[ "$VUEMODE" == "dev"]]; then +if [[ "$VUEMODE" == "dev" ]]; then # switch vuejs vack to original mode $SCRIPTDIR/vuemode.sh $VUEMODE