diff options
Diffstat (limited to 'src/oh-autobuild.sh')
-rw-r--r-- | src/oh-autobuild.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/oh-autobuild.sh b/src/oh-autobuild.sh index 1cb2355..09252a3 100644 --- a/src/oh-autobuild.sh +++ b/src/oh-autobuild.sh @@ -30,16 +30,20 @@ main() while getopts 's:S:B:T:' opt; do case "${opt}" in s) - oh_set_buildsystem_option 'source-dir' "${OPTARG}" + oh_set_buildsystem_option 'source-dir' \ + "${OPTARG}" ;; S) - oh_set_buildsystem_option 'build-system' "${OPTARG}" + oh_set_buildsystem_option 'build-system' \ + "${OPTARG}" ;; B) - oh_set_buildsystem_option 'build-dir' "${OPTARG}" + oh_set_buildsystem_option 'build-dir' \ + "${OPTARG}" ;; T) - oh_set_buildsystem_option 'build-target' "${OPTARG}" + oh_set_buildsystem_option 'build-target' \ + "${OPTARG}" ;; ?) oh_error "$(oh_get_msg 'bad_opt')" |