From 9addfe51d7eb6044eef02e8e899de191925e0f65 Mon Sep 17 00:00:00 2001 From: fszimnau Date: Thu, 4 Sep 2025 16:53:52 +0200 Subject: [PATCH] added comment for "git for windows" bash --- compileProject.sh | 1 + deployProject.sh | 1 + runProject.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/compileProject.sh b/compileProject.sh index 018a1dd..416aea6 100644 --- a/compileProject.sh +++ b/compileProject.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash set -uo pipefail +# when executed as executable file in "git for windows" bash some things won't work, so always run with prefixed command if [[ $# -ge 1 && $1 == "clean" ]]; then rm -r target/; fi diff --git a/deployProject.sh b/deployProject.sh index 222ea39..951f4c5 100644 --- a/deployProject.sh +++ b/deployProject.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash set -uo pipefail +# when executed as executable file in "git for windows" bash some things won't work, so always run with prefixed command if [[ ! -e dist ]]; then mkdir dist; fi diff --git a/runProject.sh b/runProject.sh index a33756e..bc0e480 100644 --- a/runProject.sh +++ b/runProject.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash set -uo pipefail +# when executed as executable file in "git for windows" bash some things won't work, so always run with prefixed command originDir=$(pwd); cd ~/zeitlaeufer/; tmpDir="/tmp/zeitlaeufer_$RANDOM";