From 0b58252dd39ff4b7421c16383696cba9608fb59e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 10 Nov 2012 15:54:52 -0500 Subject: Make the DESTDIR an absolute path. --- (limited to 'lib') 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}" -- cgit v0.9.1