From b59f7e96b7418da162008b467796a465c07710a1 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 21 Dec 2000 22:01:56 +0000 Subject: [PATCH] Can't use -f test on symbolic links that point to directories. --- v7/src/compiler/configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/src/compiler/configure b/v7/src/compiler/configure index 6016e5fb8..3294faa02 100755 --- a/v7/src/compiler/configure +++ b/v7/src/compiler/configure @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: configure,v 1.3 2000/12/06 06:00:49 cph Exp $ +# $Id: configure,v 1.4 2000/12/21 22:01:56 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -if test ! -f machine; then +if test ! -e machine; then case `./config.guess` in alpha-* | alphaev[56]-* | alphaev56-* | alphapca56-* ) MACHINE=alpha @@ -49,5 +49,5 @@ if test ! -f machine; then ln -s machines/${MACHINE} machine fi for FN in compiler.cbf compiler.pkg compiler.sf make.com; do \ - test -f ${FN} || ln -s machine/${FN} .; \ + test -e ${FN} || ln -s machine/${FN} .; \ done -- 2.25.1