summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions13
1 files changed, 4 insertions, 9 deletions
diff --git a/scripts/functions b/scripts/functions
index 8177216..883df0d 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -123,17 +123,12 @@ reduce_satisfied()
;;
esac
# skip non executable scripts
- if [ ! -x ${initdir}/${rs_y} ]; then
- continue
- fi
+ [ ! -x ${initdir}/${rs_y} ] && continue
# skip directories
- if [ -d ${initdir}/${rs_y} ]; then
- continue
- fi
+ [ -d ${initdir}/${rs_y} ] && continue
# skip bad syntax
- if [ ! sh -n ${initdir}/${rs_y} ]; then
- continue
- fi
+ [ ! sh -n ${initdir}/${rs_y} ] && continue
+
tmpdeplist="${tmpdeplist} ${rs_y}"
done
deplist=${tmpdeplist}