diff options
Diffstat (limited to 'pkg-test/test-cmake')
-rwxr-xr-x | pkg-test/test-cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg-test/test-cmake b/pkg-test/test-cmake index 868ce363..580da370 100755 --- a/pkg-test/test-cmake +++ b/pkg-test/test-cmake @@ -13,7 +13,7 @@ if [ ! -d "$TMP" ]; then exit 2 fi -WANTED_VERSION=$(awk -F'"' '/#define QPDF_VERSION / {print $2}' include/qpdf/DLL.h) +WANTED_VERSION=$(awk -F'"' '/# *define QPDF_VERSION / {print $2}' include/qpdf/DLL.h | tail -n 1) cp pkg-test/qpdf-version.cc pkg-test/CMakeLists.txt $TMP cd $TMP |