summaryrefslogtreecommitdiff
path: root/functions.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-21 20:26:10 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:47 +0100
commit7a1f04dd14cd64b99976c43d5b6ee8f4025cb280 (patch)
tree9ead84dc2fa7e53fb22a3574b9349628046a229e /functions.sh
parente74e645dd09b34eff568bccb4d0d1d6c9516c1f0 (diff)
downloadlive-build-7a1f04dd14cd64b99976c43d5b6ee8f4025cb280.zip
live-build-7a1f04dd14cd64b99976c43d5b6ee8f4025cb280.tar.gz
Correcting conditional reading of local functions.
Diffstat (limited to 'functions.sh')
-rwxr-xr-xfunctions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh
index 547000a..626ba3f 100755
--- a/functions.sh
+++ b/functions.sh
@@ -9,7 +9,7 @@ do
done
# Source local functions
-if [ -d scripts/functions ]
+if ls scripts/functions/*.sh > /dev/null 2>&1
then
for FUNCTION in scripts/functions/*.sh
do