mirror of
https://github.com/hyprwm/Hyprland
synced 2025-04-10 15:32:17 +02:00
scripts/generateVersion.sh: convert to posix (#9433)
This commit is contained in:
parent
e59623d1d5
commit
3352317ca8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue