From 809ac86c6935a1fcc5e400b57f7112bc618ee3f0 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 16 Apr 2008 15:01:52 +0000 Subject: We should only check dependencies in files. --- sh/gendepends.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/gendepends.sh.in') 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}" -- cgit v1.2.3