From 39fbec73b0dd15df8955baad57685082ec0cef8f Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 4 Feb 2011 10:52:25 +0100 Subject: [PATCH] Use single quotes when there are backslashes in the filename In the hope of unbreaking the buildfarm --- src/tools/msvc/Solution.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')) -- 2.11.0