Correcting conditional reading of local functions.

This commit is contained in:
Daniel Baumann 2009-10-21 20:26:10 +02:00
parent e74e645dd0
commit 7a1f04dd14

View File

@ -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