diff options
Diffstat (limited to 'src/oh-autoinstall.sh')
-rw-r--r-- | src/oh-autoinstall.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/oh-autoinstall.sh b/src/oh-autoinstall.sh index 6d494bc..be60a4c 100644 --- a/src/oh-autoinstall.sh +++ b/src/oh-autoinstall.sh @@ -27,7 +27,7 @@ main() { oh_init - while getopts 'S:B:d:' opt; do + while getopts 'S:B:d:T:' opt; do case "${opt}" in S) oh_set_buildsystem_option 'build-system' "${OPTARG}" @@ -38,6 +38,9 @@ main() d) oh_set_buildsystem_option 'destdir' "${OPTARG}" ;; + T) + oh_set_buildsystem_option 'build-target' "${OPTARG}" + ;; ?) ob_error "$(ob_get_msg 'bad_opt')" exit 1 |