summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/buildsystem.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh
index f36eb52..db07666 100644
--- a/lib/buildsystem.sh
+++ b/lib/buildsystem.sh
@@ -59,7 +59,8 @@ oh_set_buildsystem_option()
case "${_ohsbso_name}" in
'source-dir')
- _OH_BUILDSYSTEM_SOURCE_DIR="${_ohsbso_value}"
+ _OH_BUILDSYSTEM_SOURCE_DIR="$(cd "${_ohsbso_value}" && \
+ pwd)"
;;
'build-dir')
_OH_BUILDSYSTEM_BUILD_DIR="${_ohsbso_value}"