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

@@ -2,7 +2,7 @@
# Your todo.txt directory
#export TODO_DIR="/Users/gina/Documents/todo"
export TODO_DIR=`dirname $0`
export TODO_DIR=`dirname "$0"`
# Your todo/done/report.txt locations
export TODO_FILE="$TODO_DIR/todo.txt"