Added quotes to dirname call.
This allows the todo.sh to exist in a path with spaces.
This commit is contained in:
committed by
Gina Trapani
parent
5afd734dcb
commit
0c5bdf3b0a
2
todo.cfg
2
todo.cfg
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Your todo.txt directory
|
# Your todo.txt directory
|
||||||
#export TODO_DIR="/Users/gina/Documents/todo"
|
#export TODO_DIR="/Users/gina/Documents/todo"
|
||||||
export TODO_DIR=`dirname $0`
|
export TODO_DIR=`dirname "$0"`
|
||||||
|
|
||||||
# Your todo/done/report.txt locations
|
# Your todo/done/report.txt locations
|
||||||
export TODO_FILE="$TODO_DIR/todo.txt"
|
export TODO_FILE="$TODO_DIR/todo.txt"
|
||||||
|
|||||||
Reference in New Issue
Block a user