summaryrefslogtreecommitdiffstats
path: root/src/oh-autobuild.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-08 23:18:43 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-08 23:45:18 (EST)
commite1f1b3a7e9e0afbc640dede5d2ce1910767927fb (patch)
treed35463507dbdacd8a82b12fb525c0ddfbcffd2a6 /src/oh-autobuild.sh
parent8c6b9a513101ed62c8cff682f35b1cf752a69818 (diff)
Split oh_buildsystem_do() & oh_buildsystem_find().
Diffstat (limited to 'src/oh-autobuild.sh')
-rw-r--r--src/oh-autobuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/oh-autobuild.sh b/src/oh-autobuild.sh
index 1f24d5c..f76858f 100644
--- a/src/oh-autobuild.sh
+++ b/src/oh-autobuild.sh
@@ -48,7 +48,9 @@ main()
oh_buildsystems_init
- oh_buildsystem_do 'build' "${@}"
+ if sys="$(oh_buildsystem_find 'build')"; then
+ oh_buildsystem_do 'build' "${sys}" "${@}"
+ fi
}
main "${@}"