diff options
Diffstat (limited to 'lib/buildsystem.sh')
-rw-r--r-- | lib/buildsystem.sh | 3 |
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}" |