summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_work_dir.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_work_dir.subr')
-rw-r--r--subr/pkg_work_dir.subr6
1 files changed, 3 insertions, 3 deletions
diff --git a/subr/pkg_work_dir.subr b/subr/pkg_work_dir.subr
index 20b9ce17..5d18278c 100644
--- a/subr/pkg_work_dir.subr
+++ b/subr/pkg_work_dir.subr
@@ -3,10 +3,10 @@
#
pkg_work_dir() {
- if [ ! -d "${WORKDIR}/${PKG_BUILD_DIR}" ]; then
- build_fileop mkdir "${WORKDIR}/${PKG_BUILD_DIR}";
+ if [ ! -d "${PKG_BUILD_DIR}" ]; then
+ build_fileop mkdir "${PKG_BUILD_DIR}";
fi;
- build_fileop cd "${WORKDIR}/${PKG_BUILD_DIR}";
+ build_fileop cd "${PKG_BUILD_DIR}";
};
# vim:filetype=sh