summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oh-autobuild.sh5
-rw-r--r--src/oh-autoclean.sh5
-rw-r--r--src/oh-autoinstall.sh5
3 files changed, 12 insertions, 3 deletions
diff --git a/src/oh-autobuild.sh b/src/oh-autobuild.sh
index 366fa09..3bf2026 100644
--- a/src/oh-autobuild.sh
+++ b/src/oh-autobuild.sh
@@ -27,8 +27,11 @@ main()
{
oh_init
- while getopts 'S:B:T:' opt; do
+ while getopts 's:S:B:T:' opt; do
case "${opt}" in
+ s)
+ oh_set_buildsystem_option 'source-dir' "${OPTARG}"
+ ;;
S)
oh_set_buildsystem_option 'build-system' "${OPTARG}"
;;
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}"
;;
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}"
;;