summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generateVersion.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generateVersion.sh b/scripts/generateVersion.sh
index e88cef3f..9313815d 100755
--- a/scripts/generateVersion.sh
+++ b/scripts/generateVersion.sh
@@ -2,8 +2,8 @@
# if the git directory doesn't exist, don't gather data to avoid overwriting, unless
# the version file is missing altogether (otherwise compiling will fail)
-if [[ ! -d ./.git ]]; then
- if [[ -f ./src/version.h ]]; then
+if [ ! -d ./.git ]; then
+ if [ -f ./src/version.h ]; then
exit 0
fi
fi