From 93337f499e13d19160cd4e22fc59bfab66ae3c17 Mon Sep 17 00:00:00 2001 From: Dirk Deimeke Date: Tue, 22 Nov 2011 07:08:51 -0500 Subject: [PATCH] Bug - Applied patch from Dirk to fix a problem on Cygwin with a $PATH that contain spaces. Signed-off-by: Paul Beckingham --- scripts/add-ons/export-html.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/add-ons/export-html.pl b/scripts/add-ons/export-html.pl index cd0717095..32f79a637 100755 --- a/scripts/add-ons/export-html.pl +++ b/scripts/add-ons/export-html.pl @@ -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;