Added quotes to dirname call.

This allows the todo.sh to exist in a path with spaces.
This commit is contained in:
Archimedes Trajano
2011-02-10 15:20:12 -05:00
committed by Gina Trapani
parent 5afd734dcb
commit 0c5bdf3b0a
2 changed files with 2 additions and 2 deletions

View File

@@ -498,7 +498,7 @@ export SENTENCE_DELIMITERS=',.:;'
}
[ -e "$TODOTXT_CFG_FILE" ] || {
CFG_FILE_ALT=`dirname $0`"/todo.cfg"
CFG_FILE_ALT=`dirname "$0"`"/todo.cfg"
if [ -e "$CFG_FILE_ALT" ]
then