summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
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