From eb664f5c5944e8cf4ee2133b8efb78ac754fc96b Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Sun, 27 Jun 2010 13:22:01 -0600 Subject: misc-functions.sh fix for baselayout --- bin/misc-functions.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/misc-functions.sh') 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 -- cgit v1.2.3-1-g7c22