From 2501cde4c318fef463c1784288bec40fbb4b7644 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 8 Feb 2016 17:35:45 -0500 Subject: [PATCH] enable.sh: check that object is a file --- candi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candi.sh b/candi.sh index 1d2942d..ba63464 100755 --- a/candi.sh +++ b/candi.sh @@ -877,7 +877,7 @@ popd >/dev/null for f in $P/* do - if [ "$f" != "$P/enable.sh" ] + if [ "$f" != "$P/enable.sh" ] && [ -f "$f" ] then source $f fi -- 2.39.5