From eef24b0ada32fe89457c2c1c91f5e33e97b7d154 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Oct 2012 23:38:33 -0400 Subject: Set work area and source dir vars. --- 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() -- cgit v0.9.1