- Applied patch from Dirk to fix a problem on Cygwin with a $PATH
  that contain spaces.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
Dirk Deimeke 2011-11-22 07:08:51 -05:00 committed by Paul Beckingham
parent e7428663d2
commit 93337f499e

View file

@ -38,7 +38,7 @@ if ($@)
}
# Use the taskwarrior 2.0+ export command to filter and return JSON
my $command = join (' ', ("env PATH=$ENV{PATH} task export", @ARGV));
my $command = join (' ', ("env PATH='$ENV{PATH}' task export", @ARGV));
if ($command =~ /No matches/)
{
printf STDERR $command;