summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-13 21:21:53 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-13 21:21:53 +0000
commitf0cf5a75c49cc238be932e28e25a203ebbb42ce2 (patch)
treebee6605aeb2356e1a2135ed5914cd5cf128d4f37 /bin/ebuild.sh
parentdbf94573a662bebf68d0782a7ee01557820f54ec (diff)
downloadportage-f0cf5a75c49cc238be932e28e25a203ebbb42ce2.tar.gz
portage-f0cf5a75c49cc238be932e28e25a203ebbb42ce2.tar.bz2
portage-f0cf5a75c49cc238be932e28e25a203ebbb42ce2.zip
Make portage.bsd_chflags correspond to FEATURES=chflags so that it can be
used for related conditionals in shell code. svn path=/main/trunk/; revision=13342
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 8fad20b87..6e5d483e3 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -698,7 +698,7 @@ dyn_clean() {
elif [ ! -d "${PORTAGE_BUILDDIR}" ] ; then
return 0
fi
- if type -P chflags > /dev/null ; then
+ if hasq chflags $FEATURES ; then
chflags -R noschg,nouchg,nosappnd,nouappnd "${PORTAGE_BUILDDIR}"
chflags -R nosunlnk,nouunlnk "${PORTAGE_BUILDDIR}" 2>/dev/null
fi