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".
This commit is contained in:
Jack Jansen 2003-03-04 10:52:39 +00:00
parent ddeaf11d7e
commit b4329f3f62
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ $(DESTSHARED):
# Install the interpreter (by creating a hard link to python$(VERSION)) # Install the interpreter (by creating a hard link to python$(VERSION))
bininstall: altbininstall 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); \ then rm -f $(BINDIR)/$(PYTHON); \
else true; \ else true; \
fi fi