Problem with MSVC install script

From: "Chuck McDevitt" <cmcdevitt(at)greenplum(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Problem with MSVC install script
Date: 2007-09-24 01:50:53
Message-ID: EB48EBF3B239E948AC1E3F3780CF8F8802A1B24E@MI8NYCMAIL02.Mi8.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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\*

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chuck McDevitt 2007-09-24 02:03:09 Suggestion for MSVC build
Previous Message Florian G. Pflug 2007-09-24 01:09:19 GCC builtins for atomic-test-and-set, memory barries, and such