added comment for "git for windows" bash

This commit is contained in:
fszimnau
2025-09-04 16:53:52 +02:00
parent a21c318d90
commit 9addfe51d7
3 changed files with 3 additions and 0 deletions

View File

@@ -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