diff --git a/scripts/build.sh b/scripts/build.sh index 427dc820..b1b7f310 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,4 +2,4 @@ . scripts/common.sh -${SCRIPTDIR}/../vendor/bin/sculpin generate --clean --no-interaction $@ +$SCULPIN generate --clean --no-interaction $@ diff --git a/scripts/common.sh b/scripts/common.sh index 55bdc129..5f2051d3 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -6,3 +6,5 @@ realpath() { SCRIPTPATH=$(realpath "$0") SCRIPTDIR=$(dirname $SCRIPTPATH) + +SCULPIN="$SCRIPTDIR/../vendor/bin/sculpin" diff --git a/scripts/watch.sh b/scripts/watch.sh index 60d5f247..40e37590 100755 --- a/scripts/watch.sh +++ b/scripts/watch.sh @@ -2,4 +2,4 @@ . scripts/common.sh -${SCRIPTDIR}/../vendor/bin/sculpin generate --server --watch --clean --no-interaction $@ +$SCULPIN generate --server --watch --clean --no-interaction $@