Skip to content

Commit

Permalink
schedule: minor bugfix
Browse files Browse the repository at this point in the history
date argument needs to be wrapped in quotes to support spaces
  • Loading branch information
FND committed Jan 14, 2010
1 parent 403f7bf commit a1dca11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schedule
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function replace {
item=$1
threshold=$2
remove $item
add $item "$threshold" # quotes required to support spaces
add $item "$threshold"
}

[ "$action" = "usage" ] && usage
Expand All @@ -55,5 +55,5 @@ elif [[ "$param" == mv* ]]; then
threshold=${param#mv }
replace $item "$threshold"
else
add $item $param
add $item "$param"
fi

0 comments on commit a1dca11

Please sign in to comment.