aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-16 15:01:52 +0000
committerRoy Marples <roy@marples.name>2008-04-16 15:01:52 +0000
commit809ac86c6935a1fcc5e400b57f7112bc618ee3f0 (patch)
tree06fac34971764cade0b392057dd4cb355a839c55
parentb3310e8e10482a9d209e21676f0cf81ee4ec94a0 (diff)
We should only check dependencies in files.
-rw-r--r--sh/gendepends.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in
index 806c79bb..5c555ade 100644
--- a/sh/gendepends.sh.in
+++ b/sh/gendepends.sh.in
@@ -48,7 +48,7 @@ do
cd "${_dir}"
for RC_SERVICE in *; do
- [ -x "${RC_SERVICE}" ] || continue
+ [ -x "${RC_SERVICE}" -a -f "${RC_SERVICE}" ] || continue
# Only generate dependencies for runscripts
read one two < "${RC_SERVICE}"