From bb3f02511343b7d78d112e6709eaebd3af28476d Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 7 Dec 2000 22:20:57 +0000 Subject: [PATCH] Fix broken test commands. --- v7/src/Makefile | 8 ++++---- v7/src/Makefile.std | 6 +++--- v7/src/etc/create-dirs.sh | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/v7/src/Makefile b/v7/src/Makefile index b07dc4fed..45e4e2d21 100644 --- a/v7/src/Makefile +++ b/v7/src/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.11 2000/12/07 22:00:20 cph Exp $ +# $Id: Makefile,v 1.12 2000/12/07 22:20:57 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -30,7 +30,7 @@ all: setup: @for SUBDIR in $(SCHEME_SUBDIRS); do \ echo "making $@ in $${SUBDIR}"; \ - test -f $${SUBDIR}/Makefile \ + test -e $${SUBDIR}/Makefile \ || ln -s ../Makefile.std $${SUBDIR}/Makefile; \ ( cd $${SUBDIR} && $(MAKE) $@ ) || exit 1; \ done @@ -44,7 +44,7 @@ tags TAGS: mostlyclean clean distclean: @for SUBDIR in $(SUBDIRS); do \ - if test -f $${SUBDIR}/Makefile; then \ + if test -e $${SUBDIR}/Makefile; then \ echo "making $@ in $${SUBDIR}"; \ ( cd $${SUBDIR} && $(MAKE) $@ ); \ fi; \ @@ -52,7 +52,7 @@ mostlyclean clean distclean: maintainer-clean: @for SUBDIR in $(SCHEME_SUBDIRS); do \ - if test -f $${SUBDIR}/Makefile; then \ + if test -e $${SUBDIR}/Makefile; then \ echo "making $@ in $${SUBDIR}"; \ ( cd $${SUBDIR} && $(MAKE) $@ ); \ fi; \ diff --git a/v7/src/Makefile.std b/v7/src/Makefile.std index af8699e13..fc0e123ba 100644 --- a/v7/src/Makefile.std +++ b/v7/src/Makefile.std @@ -1,4 +1,4 @@ -# $Id: Makefile.std,v 1.7 2000/12/05 23:04:13 cph Exp $ +# $Id: Makefile.std,v 1.8 2000/12/07 22:20:38 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -27,8 +27,8 @@ all: echo "No ALL action" setup: - test ! -f ed-ffi.scm \ - || test -f .edwin-ffi \ + test ! -e ed-ffi.scm \ + || test -e .edwin-ffi \ || ln -s ed-ffi.scm .edwin-ffi tags TAGS: diff --git a/v7/src/etc/create-dirs.sh b/v7/src/etc/create-dirs.sh index 44a98af52..559b11793 100755 --- a/v7/src/etc/create-dirs.sh +++ b/v7/src/etc/create-dirs.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: create-dirs.sh,v 1.2 2000/12/07 22:12:55 cph Exp $ +# $Id: create-dirs.sh,v 1.3 2000/12/07 22:19:28 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -22,7 +22,7 @@ maybe_mkdir () { - if test ! -d ${1}; then + if test ! -e ${1}; then echo "mkdir ${1}" mkdir ${1} fi @@ -30,7 +30,7 @@ maybe_mkdir () maybe_link () { - if test ! -f ${1}; then + if test ! -e ${1}; then echo "ln -s ${2} ${1}" ln -s ${2} ${1} fi -- 2.25.1