[Patches] [ python-Patches-591551 ] Remove symlink python during install

noreply@sourceforge.net noreply@sourceforge.net
Tue, 06 Aug 2002 06:48:01 -0700


Patches item #591551, was opened at 2002-08-06 15:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=591551&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Martin v. Löwis (loewis)
Summary: Remove symlink python during install

Initial Comment:
During "make bininstall" an existing "python" in the bindir is removed. This fails, however, if the file in question is a symlink in stead of a regular file/hardlink.

As an OSX framework install can deposit a symlink into /usr/local/bin/python it would be nice if a subsequent normal install would do the right thing.

I'm posting this as a patch because I'm not sure how common "test -L file" is. Otherwise "test -e file" may be a better idea.

Assigned to Martin as he seems to be one of the major build gurus.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=591551&group_id=5470