Re: Problem with MSVC install script

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Chuck McDevitt <cmcdevitt(at)greenplum(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Problem with MSVC install script
Date: 2007-09-24 02:44:51
Message-ID: 46F724A3.3090006@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chuck McDevitt wrote:
>
> 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\*
>

Which files are read-only?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-24 03:42:13 Re: GCC builtins for atomic-test-and-set, memory barries, and such
Previous Message Chuck McDevitt 2007-09-24 02:03:09 Suggestion for MSVC build