diff --git a/build.sh b/build.sh index 51ae957b2..ce2bbbe51 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,10 @@ #/bin/bash set -ex +BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" +cd ${BASE_DIR} + + echo "Starting build..." hero installers -n zola diff --git a/start.sh b/start.sh index ef6e714bb..4d1fa66f1 100755 --- a/start.sh +++ b/start.sh @@ -1,6 +1,9 @@ #/bin/bash set -ex +BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" +cd ${BASE_DIR} + hero installers -n zola # initialized and configures tailwind if not configured