public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r14266 - main/branches/prefix/bin
@ 2009-09-14  9:50 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2009-09-14  9:50 UTC (permalink / raw
  To: gentoo-commits

Author: grobian
Date: 2009-09-14 09:50:41 +0000 (Mon, 14 Sep 2009)
New Revision: 14266

Modified:
   main/branches/prefix/bin/misc-functions.sh
Log:
avoid many false positives

Modified: main/branches/prefix/bin/misc-functions.sh
===================================================================
--- main/branches/prefix/bin/misc-functions.sh	2009-09-14 09:39:25 UTC (rev 14265)
+++ main/branches/prefix/bin/misc-functions.sh	2009-09-14 09:50:41 UTC (rev 14266)
@@ -475,7 +475,7 @@
 		# know they don't work (bug #196294) so as long as that one
 		# remains an issue, simply remove them as they won't work
 		# anyway
-		if [[ -d "${ED}"/etc/conf.d || "${ED}"/etc/init.d ]] ; then
+		if [[ -d "${ED}"/etc/conf.d || -d "${ED}"/etc/init.d ]] ; then
 			ewarn "removed /etc/init.d and /etc/conf.d directories until bug #196294 has been resolved"
 			rm -Rf "${ED}"/etc/{conf,init}.d
 		fi




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-14  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14  9:50 [gentoo-commits] portage r14266 - main/branches/prefix/bin Fabian Groffen (grobian)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox