summaryrefslogtreecommitdiff
path: root/mail/elm/patches/patch-aa
blob: 7e6b2e4d186bb8a7482a898e1ef49c457224e940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$NetBSD: patch-aa,v 1.4 2006/01/19 14:51:38 tron Exp $

--- Configure.orig	Fri Dec 15 15:00:55 2000
+++ Configure
@@ -18,11 +18,6 @@
 PATH=".:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:$PATH"
 export PATH || (echo "OOPS, this isn't sh.  Desperation time.  I will feed myself to sh."; sh $0; kill $$)
 
-if test ! -t 0; then
-    echo "Say 'sh Configure', not 'sh <Configure'"
-    exit 1
-fi
-
 (alias) >/dev/null 2>&1 && \
     echo "(I see you are using the Korn shell.  Some ksh's blow up on Configure," && \
     echo "especially on exotic machines.  If yours does, try the Bourne shell instead.)"
@@ -490,8 +485,8 @@
     n=''
     c='\c'
 fi
-echo $n "Type carriage return to continue.  Your cursor should be here-->$c"
-read ans
+#echo $n "Type carriage return to continue.  Your cursor should be here-->$c"
+#read ans
 rm -f .echotmp
 
 : now set up to do reads with possible shell escape and default assignment
@@ -5496,7 +5491,7 @@
 echo "If you didn't make any mistakes, then just type a carriage return here."
 rp="If you need to edit config.sh, do it as a shell escape here:"
 $echo $n "$rp $c"
-. UU/myread
+ans=''
 case "$ans" in
 '') ;;
 *) : in case they cannot read