Commit b4329f3f authored by Jack Jansen's avatar Jack Jansen

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".
parent ddeaf11d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment