Fix for 1038995: pt-stalk notify-by-email fails

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-08-20 19:22:31 -03:00
parent 1481494ef1
commit c2b006eeaf
6 changed files with 28 additions and 1 deletions

View File

@@ -424,6 +424,9 @@ _parse_command_line() {
if [ -f "$PT_TMPDIR/po/$base_opt" ]; then
opt_is_negated=1
opt="$base_opt"
else
opt_is_negated=""
opt=$(echo $opt | sed 's/^-*//')
fi
else
# Handle normal cases: --option and --no-option.