diff --git a/build.sh b/build.sh index af3dc3b..6dc0e9d 100755 --- a/build.sh +++ b/build.sh @@ -29,7 +29,7 @@ then exit 1 fi -VERSION=$(cat src/version.h |cut -d\" -f2) +VERSION=$(grep APP_VERSION src/version.h |cut -d\" -f2) echo "Compiling SilentDragonLite $VERSION on $UNAME with args=$@" CONF=silentdragon-lite.pro