diff options
author | P. J. McDermott <pjm@nac.net> | 2012-11-14 19:28:00 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-11-14 19:28:00 (EST) |
commit | e80c8fcf62eea81a237c86f292e26f9e58b068b9 (patch) | |
tree | 677b9097ca5cdd7ca7c07a32122cb722db9e1684 /src/oh-autoclean.sh | |
parent | 5b5d596f0975c82ecff22c9b00fdd2b5e19482fd (diff) |
Support -s in oh-auto{build,clean,install}.
Diffstat (limited to 'src/oh-autoclean.sh')
-rw-r--r-- | src/oh-autoclean.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/oh-autoclean.sh b/src/oh-autoclean.sh index 44c99b6..f12815b 100644 --- a/src/oh-autoclean.sh +++ b/src/oh-autoclean.sh @@ -27,8 +27,11 @@ main() { oh_init - while getopts 'S:B:' opt; do + while getopts 's:S:B:' opt; do case "${opt}" in + s) + oh_set_buildsystem_option 'source-dir' "${OPTARG}" + ;; S) oh_set_buildsystem_option 'build-system' "${OPTARG}" ;; |