From: Zac Medico Date: Sat, 18 Mar 2006 06:40:01 +0000 (-0000) Subject: Fix PORTAGE_WORKDIR_MODE so that 0700 is correctly substituted when PORTAGE_WORKDIR_M... X-Git-Tag: v2.1_pre7~45 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9ad6b03a18a8585d3000c249064c3619f211973b;p=portage.git Fix PORTAGE_WORKDIR_MODE so that 0700 is correctly substituted when PORTAGE_WORKDIR_MODE is unset or null. svn path=/main/trunk/; revision=2933 --- 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..."