From: Fabian Groffen Date: Mon, 14 Sep 2009 09:50:41 +0000 (-0000) Subject: avoid many false positives X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f37a74aa83476f2046791be524791bc82e6812b7;p=portage.git avoid many false positives svn path=/main/branches/prefix/; revision=14266 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 74c5f05db..5444379d3 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -475,7 +475,7 @@ install_qa_check() { # 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