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.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/oh-autoinstall.sh b/src/oh-autoinstall.sh
index 761bd03..bd4476a 100644
--- a/src/oh-autoinstall.sh
+++ b/src/oh-autoinstall.sh
@@ -27,8 +27,11 @@ main()
{
oh_init
- while getopts 'S:B:d:T:' opt; do
+ while getopts 's:S:B:d:T:' opt; do
case "${opt}" in
+ s)
+ oh_set_buildsystem_option 'source-dir' "${OPTARG}"
+ ;;
S)
oh_set_buildsystem_option 'build-system' "${OPTARG}"
;;