summaryrefslogtreecommitdiffstats
path: root/src/oh-autoinstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/oh-autoinstall.sh')
-rw-r--r--src/oh-autoinstall.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/oh-autoinstall.sh b/src/oh-autoinstall.sh
index 711e481..702be80 100644
--- a/src/oh-autoinstall.sh
+++ b/src/oh-autoinstall.sh
@@ -30,19 +30,24 @@ main()
while getopts 's:S:B:d: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}"
;;
d)
- oh_set_buildsystem_option 'destdir' "${OPTARG}"
+ oh_set_buildsystem_option 'destdir' \
+ "${OPTARG}"
;;
T)
- oh_set_buildsystem_option 'build-target' "${OPTARG}"
+ oh_set_buildsystem_option 'build-target' \
+ "${OPTARG}"
;;
?)
oh_error "$(oh_get_msg 'bad_opt')"