From f0cf5a75c49cc238be932e28e25a203ebbb42ce2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 13 Apr 2009 21:21:53 +0000 Subject: 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 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild.sh') 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 -- cgit v1.2.3-1-g7c22