From: Jarkko Hietaniemi Date: Sun, 18 Mar 2001 20:36:59 +0000 (+0000) Subject: Looking for config.sh in parent directories isn't X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=66b9921640f8f14fe08f3bd79fe49bef3048686e;p=p5sagit%2Fp5-mst-13.2.git Looking for config.sh in parent directories isn't very useful for the toplevel Makefile. p4raw-id: //depot/perl@9212 --- diff --git a/Makefile.SH b/Makefile.SH index b425bc6..935c8f1 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -1,11 +1,8 @@ #! /bin/sh case $CONFIGDOTSH in '') - if test -f config.sh; then TOP=.; - elif test -f ../config.sh; then TOP=..; - elif test -f ../../config.sh; then TOP=../..; - elif test -f ../../../config.sh; then TOP=../../..; - elif test -f ../../../../config.sh; then TOP=../../../..; + if test -f config.sh + then TOP=. else echo "Can't find config.sh."; exit 1 fi