projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f602d
)
misc-functions.sh fix for baselayout
author
Daniel Robbins
<drobbins@funtoo.org>
Sun, 27 Jun 2010 19:22:01 +0000
(13:22 -0600)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 27 Jun 2010 21:30:58 +0000
(14:30 -0700)
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index 16d3016d5a05d40572837b89e62b0d51a593ff75..622676873dc8133a7d797c5e9381e97d3145b383 100755
(executable)
--- 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