scripts/generateVersion.sh: convert to posix (#9433)

This commit is contained in:
nyx 2025-02-18 09:18:22 -05:00 committed by GitHub
parent e59623d1d5
commit 3352317ca8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,8 +2,8 @@
# if the git directory doesn't exist, don't gather data to avoid overwriting, unless # 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) # the version file is missing altogether (otherwise compiling will fail)
if [[ ! -d ./.git ]]; then if [ ! -d ./.git ]; then
if [[ -f ./src/version.h ]]; then if [ -f ./src/version.h ]; then
exit 0 exit 0
fi fi
fi fi