From 7a1f04dd14cd64b99976c43d5b6ee8f4025cb280 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 21 Oct 2009 20:26:10 +0200 Subject: Correcting conditional reading of local functions. --- functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.0