]> granicus.if.org Git - fortune-mod/commitdiff
appveyor fix 14 : win32 path hack
authorShlomi Fish <shlomif@shlomifish.org>
Sun, 19 Jan 2020 19:33:49 +0000 (21:33 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Sun, 19 Jan 2020 19:33:49 +0000 (21:33 +0200)
fortune-mod/tests/t/test-fortune-m.t

index c0aed67edfd0386180ab8c0b2c876bb4b1f30522..04a8e80ad76178f86ac4b349b77f920810eb0f18 100644 (file)
@@ -16,7 +16,8 @@ use Test::More tests => 1;
     if ($IS_WIN)
     {
         print "IS_WIN=1\n";
-        $cmd[0] = ( "$cmd[0]" =~ s#/#\\#gr );
+        $cmd[0] = ( "$cmd[0]" =~ s#/#\\\\#gr );
+        $cmd[0] .= ".exe";
         print "TransformedRun [@cmd]\n";
     }
     print "Running [@cmd]\n";