summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-21 23:38:33 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-21 23:38:33 (EDT)
commiteef24b0ada32fe89457c2c1c91f5e33e97b7d154 (patch)
tree1c2ea982bfcfc0c64842ebb61e705d6ca6c12179
parente9c2b88ce2b4ec690deb1557940026b7cc76fcf1 (diff)
Set work area and source dir vars.
-rw-r--r--lib/buildsystem.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh
index 65af7df..46f8408 100644
--- a/lib/buildsystem.sh
+++ b/lib/buildsystem.sh
@@ -33,6 +33,9 @@ oh_buildsystems_init()
for _ohbsi_bs in ${_OH_BUILDSYSTEMS}; do
oh_use "buildsystem/${_ohbsi_bs}"
done
+
+ _OH_BUILDSYSTEM_WORK_AREA="${PWD}"
+ _OH_BUILDSYSTEM_SOURCE_DIR="$(cd src && pwd)"
}
oh_set_buildsystem_option()