Problem with MSVC install script - Mailing list pgsql-hackers

From Chuck McDevitt
Subject Problem with MSVC install script
Date
Msg-id EB48EBF3B239E948AC1E3F3780CF8F8802A1B24E@MI8NYCMAIL02.Mi8.com
Whole thread Raw
Responses Re: Problem with MSVC install script
List pgsql-hackers

I was trying out the msvc support, and ran into a minor problem in the install.bat/install.pl

 

If any files that are going to be installed are marked read-only, they carry the read-only attribute with them when they get copied to the install dir.

 

Then, if you try to run install again, the new attempt will fail because it can’t overwrite the read-only file.

 

I added this like to install.bat (just before the call to install.pl) to fix this for me:

 

attrib /S -r %1\*

 

pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: GCC builtins for atomic-test-and-set, memory barries, and such
Next
From: "Chuck McDevitt"
Date:
Subject: Suggestion for MSVC build