From 9ad6b03a18a8585d3000c249064c3619f211973b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 18 Mar 2006 06:40:01 +0000 Subject: Fix PORTAGE_WORKDIR_MODE so that 0700 is correctly substituted when PORTAGE_WORKDIR_MODE is unset or null. svn path=/main/trunk/; revision=2933 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 5bc3a6c37..92f8ca1e9 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -689,7 +689,7 @@ dyn_unpack() { fi if [ ! -d "${WORKDIR}" ]; then - install -m${PORTAGE_WORKDIR_MODE-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'" + install -m${PORTAGE_WORKDIR_MODE:-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'" fi cd "${WORKDIR}" || die "Directory change failed: \`cd '${WORKDIR}'\`" echo ">>> Unpacking source..." -- cgit v1.2.3-1-g7c22