From: Magnus Hagander Date: Fri, 4 Feb 2011 09:52:25 +0000 (+0100) Subject: Use single quotes when there are backslashes in the filename X-Git-Tag: REL9_1_ALPHA4~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39fbec73b0dd15df8955baad57685082ec0cef8f;p=postgresql Use single quotes when there are backslashes in the filename In the hope of unbreaking the buildfarm --- diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 950e12b1f4..49504d7c59 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -276,14 +276,14 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY if (IsNewer('src\include\utils\errcodes.h','src\backend\utils\errcodes.txt')) { print "Generating errcodes.h...\n"; - system("perl src\backend\utils\generate-errcodes.pl src\backend\utils\errcodes.txt > src\backend\utils\errcodes.h"); + system('perl src\backend\utils\generate-errcodes.pl src\backend\utils\errcodes.txt > src\backend\utils\errcodes.h'); copyFile('src\backend\utils\errcodes.h','src\include\utils\errcodes.h'); } if (IsNewer('src\pl\plpgsql\src\plerrcodes.h','src\backend\utils\errcodes.txt')) { print "Generating plerrcodes.h...\n"; - system("perl src\pl\plpgsql\src\generate-plerrcodes.pl src\backend\utils\errcodes.txt > src\pl\plpgsql\src\plerrcodes.h"); + system('perl src\pl\plpgsql\src\generate-plerrcodes.pl src\backend\utils\errcodes.txt > src\pl\plpgsql\src\plerrcodes.h'); } if (IsNewer('src\interfaces\libpq\libpq.rc','src\interfaces\libpq\libpq.rc.in'))