summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-03-04 10:52:39 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-03-04 10:52:39 (GMT)
commitb4329f3f62423c490628ee9ef20b4455b23e3631 (patch)
tree7e469aedace0b1c8fbcfbb7778d97a1c28cf72fa /Makefile.pre.in
parentddeaf11d7e777d0bd0bc3e60242d1dac9d881f18 (diff)
downloadcpython-b4329f3f62423c490628ee9ef20b4455b23e3631.zip
cpython-b4329f3f62423c490628ee9ef20b4455b23e3631.tar.gz
cpython-b4329f3f62423c490628ee9ef20b4455b23e3631.tar.bz2
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 b36c6f3..c767dd5 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