Export variables so that they can be easily used in actions

Signed-off-by: Gina Trapani <ginatrapani@gmail.com>
This commit is contained in:
Ed Blackman
2009-03-07 10:35:08 +08:00
committed by Gina Trapani
parent 7736e6b4fa
commit 5683490c0e
2 changed files with 31 additions and 29 deletions

View File

@@ -195,6 +195,8 @@ PRESERVE_LINE_NUMBERS=1
AUTO_ARCHIVE=1
DATE_ON_ADD=0
export VERBOSE PLAIN CFG_FILE FORCE PRESERVE_LINE_NUMBERS AUTO_ARCHIVE DATE_ON_ADD
while getopts ":fhpnatvVd:" Option
do
case $Option in
@@ -660,7 +662,7 @@ note: PRIORITY must be anywhere from A to Z."
usage
if [ -d "$HOME/.todo.actions.d" ]; then
if [ -x "$HOME/.todo.actions.d/$action" ]; then
CFG_FILE="$CFG_FILE" "$HOME/.todo.actions.d/$action" "$@"
"$HOME/.todo.actions.d/$action" "$@"
else
usage
fi