diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-04 10:52:39 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-04 10:52:39 (GMT) |
commit | b4329f3f62423c490628ee9ef20b4455b23e3631 (patch) | |
tree | 7e469aedace0b1c8fbcfbb7778d97a1c28cf72fa /Makefile.pre.in | |
parent | ddeaf11d7e777d0bd0bc3e60242d1dac9d881f18 (diff) | |
download | cpython-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.in | 2 |
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 |