diff options
Diffstat (limited to 'lib')
-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 8ea4fdf..1be5e1d 100644 --- a/lib/buildsystem.sh +++ b/lib/buildsystem.sh @@ -61,7 +61,8 @@ oh_set_buildsystem_option() _OH_BUILDSYSTEM_BUILD_DIR="${_ohsbso_value}" ;; 'destdir') - _OH_BUILDSYSTEM_DESTDIR="${_ohsbso_value}" + _OH_BUILDSYSTEM_DESTDIR="$(mkdir -p "${_ohsbso_value}" && \ + cd "${_ohsbso_value}" && pwd)" ;; 'build-system') _OH_BUILDSYSTEM_SYSTEM="${_ohsbso_value}" |