diff options
author | root <root@jones.dk> | 2009-10-26 10:24:07 +0100 |
---|---|---|
committer | root <root@jones.dk> | 2009-10-26 10:24:07 +0100 |
commit | 3287001c6fe552cd190bdfcbe35b4a6670647a78 (patch) | |
tree | f058a667bfcbf1cc41fa1f226f5b0770e0708fe8 /localmarkdown2sms | |
parent | e3f7693b7ba8ccb030a4044e81872136c4581b82 (diff) |
Fix check env flag mdpath (it is a directory, not a file).
Diffstat (limited to 'localmarkdown2sms')
-rwxr-xr-x | localmarkdown2sms | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |