diff --git a/tests/t0100-code-nobacktick.sh b/tests/t0100-code-nobacktick.sh index 2fe6bd8..eb42fbc 100755 --- a/tests/t0100-code-nobacktick.sh +++ b/tests/t0100-code-nobacktick.sh @@ -16,6 +16,8 @@ backtick_check() test_todo_session 'no old-style backtick command substitution' <>> backtick_check bin/todo.sh + +>>> backtick_check ../../todo.cfg EOF test_done diff --git a/todo.cfg b/todo.cfg index 8504388..ccad921 100644 --- a/todo.cfg +++ b/todo.cfg @@ -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"