]> jfr.im git - irc/kvirc/KVIrc.git/commitdiff
build_debian: add option preserve-env and prepend-path
authorAlexander Pozdnyakov <redacted>
Sun, 30 Dec 2018 13:13:30 +0000 (16:13 +0300)
committerAlexander Pozdnyakov <redacted>
Sun, 30 Dec 2018 13:13:30 +0000 (16:13 +0300)
when building in travis

dist/build_debian.sh

index 1ecaec589a3812676aaa7eb7f28d420463797e0c..884b923c67d274773d45c024dc6026d67d3aec46 100644 (file)
@@ -117,8 +117,10 @@ then
     if [ ! -z "${TRAVIS_BRANCH}" ]
     then
         sed -i '/^ cmake (>= 3.1),/d' debian/control
+        debuild --no-lintian --preserve-env --prepend-path="${PATH}" -us -uc 
+    else
+        debuild --no-lintian -us -uc 
     fi
-    debuild --no-lintian -us -uc
 else
     gpgkey
     tmpgpg