summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-03-04 10:52:39 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-03-04 10:52:39 +0000
commita85ddb88b3aaa479a62f7680e88cb01f3217435c (patch)
treeec8ba08fb8a0157e00b4265a57c471c1c5610e2d /Makefile.pre.in
parent0112b373cb9b61a020c2872249d2d201bf81fb86 (diff)
downloadcpython-a85ddb88b3aaa479a62f7680e88cb01f3217435c.tar.gz
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".
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
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