summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-03-18 20:36:59 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-18 20:36:59 +0000
commit66b9921640f8f14fe08f3bd79fe49bef3048686e (patch)
treeb9e992d3faae964f025519944989a76a4586ace1 /Makefile.SH
parentbddcbb41f4ee271234adc88da4c07b10b24806b6 (diff)
downloadperl-66b9921640f8f14fe08f3bd79fe49bef3048686e.tar.gz
Looking for config.sh in parent directories isn't
very useful for the toplevel Makefile. p4raw-id: //depot/perl@9212
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile.SH b/Makefile.SH
index b425bc619e..935c8f1c7d 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