summaryrefslogtreecommitdiffstats
path: root/src/oh-autobuild.sh
diff options
context:
space:
mode:
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 "${@}"