]> gitweb @ CieloNegro.org - autobuild.git/blobdiff - src/main.bash
distcheck should set DISTCHECK_CONFIGURE_FLAGS properly.
[autobuild.git] / src / main.bash
index d64aaf02f3ad229620c3e44a76a1b9ddc1c70956..f5659701c632389c9844480d97ed8d48d1ff4ba3 100644 (file)
@@ -1,5 +1,5 @@
 function runMake () {
-    run gmake -w -j $(detectNumCPUs) $@
+    run gmake -w -j $(detectNumCPUs) "$@"
 }
 
 function configure () {
@@ -46,7 +46,7 @@ function dist () {
 
 function distcheck () {
     configure
-    runMake -C "_build" distcheck
+    runMake -C "_build" distcheck DISTCHECK_CONFIGURE_FLAGS="${configArgs[*]}"
 }
 
 function install () {