diff options
Diffstat (limited to 'src/oh-autoconfigure.sh')
-rw-r--r-- | src/oh-autoconfigure.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/oh-autoconfigure.sh b/src/oh-autoconfigure.sh index fb48515..a0e0b9c 100644 --- a/src/oh-autoconfigure.sh +++ b/src/oh-autoconfigure.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 'target-arch' "${OPTARG}" + oh_set_buildsystem_option 'target-arch' \ + "${OPTARG}" ;; ?) oh_error "$(oh_get_msg 'bad_opt')" |