mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
scmversion: Fix generation on Linux
This commit is contained in:
parent
a5585f047c
commit
2842167184
|
@ -3,7 +3,7 @@
|
|||
VERSION_FILE="scmversion.cpp"
|
||||
|
||||
CURDIR=$(pwd)
|
||||
if [ "$(uname -s)" == "Darwin" ]; then
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
cd "$(dirname $(python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0"))"
|
||||
else
|
||||
cd $(dirname $(readlink -f $0))
|
||||
|
|
Loading…
Reference in a new issue