diff --git a/Packaging/AppImage/get-version.sh b/Packaging/AppImage/get-version.sh index aca784c6..2fac59f6 100755 --- a/Packaging/AppImage/get-version.sh +++ b/Packaging/AppImage/get-version.sh @@ -1,5 +1,5 @@ #!/bin/sh -BASE_VERSION=`grep -oP "^#define\s*VKQUAKE_VERSION\s*\K[0-9.]*" ../../Quake/quakedef.h` -PATCH_VERSION=`grep -oP "^#define\s*VKQUAKE_VER_PATCH\s*\K[0-9.]*" ../../Quake/quakedef.h` -SUFFIX=`grep -oP "^#define\s*VKQUAKE_VER_SUFFIX\s*\"\K([^\"]*)" ../../Quake/quakedef.h` +BASE_VERSION=`grep -oP "^#define\s*VKQUAKE_VERSION\s*\K[0-9.]*" ../../Quake/quakever.h` +PATCH_VERSION=`grep -oP "^#define\s*VKQUAKE_VER_PATCH\s*\K[0-9.]*" ../../Quake/quakever.h` +SUFFIX=`grep -oP "^#define\s*VKQUAKE_VER_SUFFIX\s*\"\K([^\"]*)" ../../Quake/quakever.h` echo ${BASE_VERSION}.${PATCH_VERSION}${SUFFIX}