mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 00:20:23 -07:00
scripts/generateVersion.sh: convert to posix (#9433)
This commit is contained in:
parent
e59623d1d5
commit
3352317ca8
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user