From: Daniel Robbins Date: Sun, 27 Jun 2010 19:22:01 +0000 (-0600) Subject: misc-functions.sh fix for baselayout X-Git-Tag: v2.2_rc68~542 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb664f5c5944e8cf4ee2133b8efb78ac754fc96b;p=portage.git misc-functions.sh fix for baselayout --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 16d3016d5..622676873 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -335,6 +335,8 @@ install_qa_check() { [[ -d ${D}/${d} ]] || continue for i in "${D}"/${d}/* ; do [[ -L ${i} ]] && continue + # if empty conf.d/init.d dir exists (baselayout), then i will be "/etc/conf.d/*" and not exist + [[ ! -e ${i} ]] && continue bash -n "${i}" || die "The init.d file has syntax errors: ${i}" done done