From 3287001c6fe552cd190bdfcbe35b4a6670647a78 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 26 Oct 2009 10:24:07 +0100 Subject: Fix check env flag mdpath (it is a directory, not a file). --- localmarkdown2sms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'localmarkdown2sms') diff --git a/localmarkdown2sms b/localmarkdown2sms index be74724..896b34f 100755 --- a/localmarkdown2sms +++ b/localmarkdown2sms @@ -69,7 +69,7 @@ if ($debug) { Log::Log4perl->easy_init($ERROR); } -unless ($path and -f $path) { +unless ($path and -d $path) { ERROR "environment variable \"mdpath\" missing or wrong."; exit 1; } -- cgit v1.2.3