A couple of fixes: use Bourne shell, and fixed recursive call of get_sys
This commit is contained in:
parent
29a640446a
commit
cfbdef35e7
2 changed files with 4 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue