public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29a6404
)
A couple of fixes: use Bourne shell, and fixed recursive call of get_sys
author
ceriel
<none@none>
Tue, 18 Oct 1994 16:07:27 +0000
(16:07 +0000)
committer
ceriel
<none@none>
Tue, 18 Oct 1994 16:07:27 +0000
(16:07 +0000)
first/first
patch
|
blob
|
history
first/get_sys
patch
|
blob
|
history
diff --git
a/first/first
b/first/first
index
dd28c46
..
a24b6d1
100755
(executable)
--- a/
first/first
+++ b/
first/first
@@
-1,3
+1,4
@@
+#! /bin/sh
case $0 in
*/first)
FDIR=`expr $0 : '\(.*\)/first'`
@@
-75,11
+76,11
@@
while :
do
for i in $MACH_LIST
do
- if [ $i =
$ACM
]
+ if [ $i =
"$ACM"
]
then break
fi
done
- if [ $i =
$ACM
]
+ if [ $i =
"$ACM"
]
then break
fi
echo "This installation script has no knowledge about $SYSNAME.
diff --git
a/first/get_sys
b/first/get_sys
index
bb0f2c4
..
0ff1859
100755
(executable)
--- a/
first/get_sys
+++ b/
first/get_sys
@@
-146,7
+146,7
@@
case X$ANS in
Xj*|Xy*|X) break
;;
Xn*) echo Ok, I will give you another chance....
- .
get_sys
+ .
$0
break
;;
*) echo "I do not understand your answer ($ANS). Try again."