ref: 13089753004935ad4b8a4a90886f8c71a7dc4c7b
parent: f2bf7ca0cec7946433610a32420428d16165946a
parent: 33abbdeb9f28269d7706feaac90df812d06ee17b
author: Simon Howard <[email protected]>
date: Mon Nov 18 14:48:08 EST 2019
Merge pull request #1217 from chocolate-doom/travis-prefix travis: determine program prefix from config.h
--- a/.travis.sh
+++ b/.travis.sh
@@ -13,5 +13,6 @@
make -j4
make install DESTDIR=/tmp/whatever
make dist
- make -j4 -C quickcheck check SOURCE_PORT=$PWD/src/chocolate-doom
+ PREFIX=`sed -n '/PROGRAM_PREFIX/p' ${PWD}/config.h | cut -d '"' -f 2`
+ make -j4 -C quickcheck check SOURCE_PORT=$PWD/src/${PREFIX}doom
fi