summaryrefslogtreecommitdiffstats
path: root/src/oh-autoconfigure.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-13 11:10:09 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-13 11:10:09 (EST)
commitd3308a72c42a2be520cfeca4f372119e46b64f76 (patch)
tree548bf20f07a99e9857d774ec430ff616110f6590 /src/oh-autoconfigure.sh
parent1fc71242b873815c7c2d8d50a49169d76b585c12 (diff)
Make the source directory configurable.
Diffstat (limited to 'src/oh-autoconfigure.sh')
-rw-r--r--src/oh-autoconfigure.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/oh-autoconfigure.sh b/src/oh-autoconfigure.sh
index 9535117..004a140 100644
--- a/src/oh-autoconfigure.sh
+++ b/src/oh-autoconfigure.sh
@@ -29,6 +29,9 @@ main()
while getopts 'S:B:t:' opt; do
case "${opt}" in
+ s)
+ oh_set_buildsystem_option 'source-dir' "${OPTARG}"
+ ;;
S)
oh_set_buildsystem_option 'build-system' "${OPTARG}"
;;