From: Jack Jansen Date: Tue, 4 Mar 2003 10:52:39 +0000 (+0000) Subject: Patch #696613 by Ben Laurie: use "test -L" to test for symlinks in stead X-Git-Tag: v2.3c1~1595 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4329f3f62423c490628ee9ef20b4455b23e3631;p=python Patch #696613 by Ben Laurie: use "test -L" to test for symlinks in stead of the older (and, according to some manpages, deprecated) "test -h". --- diff --git a/Makefile.pre.in b/Makefile.pre.in index b36c6f3ad4..c767dd57da 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -563,7 +563,7 @@ $(DESTSHARED): # Install the interpreter (by creating a hard link to python$(VERSION)) bininstall: altbininstall - -if test -f $(BINDIR)/$(PYTHON) -o -L $(BINDIR)/$(PYTHON); \ + -if test -f $(BINDIR)/$(PYTHON) -o -h $(BINDIR)/$(PYTHON); \ then rm -f $(BINDIR)/$(PYTHON); \ else true; \ fi