diff options
author | Daniel Robbins <drobbins@funtoo.org> | 2010-06-27 13:22:01 -0600 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-06-27 14:30:58 -0700 |
commit | eb664f5c5944e8cf4ee2133b8efb78ac754fc96b (patch) | |
tree | cf0ab2fd6ee8c10e292ac04bd18b4085e93e659f | |
parent | 89f602d504cb8c2d51e13c8503f098749a09e001 (diff) | |
download | portage-eb664f5c5944e8cf4ee2133b8efb78ac754fc96b.tar.gz portage-eb664f5c5944e8cf4ee2133b8efb78ac754fc96b.tar.bz2 portage-eb664f5c5944e8cf4ee2133b8efb78ac754fc96b.zip |
misc-functions.sh fix for baselayout
-rwxr-xr-x | bin/misc-functions.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |