summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions
index 42fafa8..56ae1e1 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -94,7 +94,7 @@ set_initlist()
fi
# skip directories
- if [ -d ${si_x} ; then
+ if [ -d ${si_x} ]; then
[ "${verbose}" = "y" ] \
&& echo "$si_x ignored: a directory"
continue
@@ -127,7 +127,7 @@ reduce_satisfied()
# skip directories
[ -d ${initdir}/${rs_y} ] && continue
# skip bad syntax
- [ ! sh -n ${initdir}/${rs_y} ] && continue
+ sh -n ${initdir}/${rs_y} || continue
tmpdeplist="${tmpdeplist} ${rs_y}"
done