diff options
author | P. J. McDermott <pjm@nac.net> | 2012-11-10 15:54:52 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-11-10 15:54:52 (EST) |
commit | 0b58252dd39ff4b7421c16383696cba9608fb59e (patch) | |
tree | 87efda46a75dfce55895111ffa85f9ad55b895df /lib/buildsystem.sh | |
parent | 367736817b5bfdf3f6d237c780f71ec85a7595f3 (diff) |
Make the DESTDIR an absolute path.
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 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}" |