diff options
author | P. J. McDermott <pjm@nac.net> | 2012-11-08 00:56:25 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-11-08 01:01:23 (EST) |
commit | 83d6a78f143b64558c01b83b6fcbce3e8a508b6f (patch) | |
tree | c37d4382ab67d5dac48dfe17c95dc6488f2a37f1 /src | |
parent | 32c42f6b8bc583c04eb6bef96775a31286c2d2a9 (diff) |
Support a build target option in oh-autobuild.
Diffstat (limited to 'src')
-rw-r--r-- | src/oh-autobuild.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/oh-autobuild.sh b/src/oh-autobuild.sh index 1bfe420..1f24d5c 100644 --- a/src/oh-autobuild.sh +++ b/src/oh-autobuild.sh @@ -27,7 +27,7 @@ main() { oh_init - while getopts 'S:B:' opt; do + while getopts 'S:B:T:' opt; do case "${opt}" in S) oh_set_buildsystem_option 'build-system' "${OPTARG}" @@ -35,6 +35,9 @@ main() B) oh_set_buildsystem_option 'build-dir' "${OPTARG}" ;; + T) + oh_set_buildsystem_option 'build-target' "${OPTARG}" + ;; ?) ob_error "$(ob_get_msg 'bad_opt')" exit 1 |