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:
parent
ddeaf11d7e
commit
b4329f3f62
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue