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
|
case $0 in
|
||||||
*/first)
|
*/first)
|
||||||
FDIR=`expr $0 : '\(.*\)/first'`
|
FDIR=`expr $0 : '\(.*\)/first'`
|
||||||
|
@ -75,11 +76,11 @@ while :
|
||||||
do
|
do
|
||||||
for i in $MACH_LIST
|
for i in $MACH_LIST
|
||||||
do
|
do
|
||||||
if [ $i = $ACM ]
|
if [ $i = "$ACM" ]
|
||||||
then break
|
then break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ $i = $ACM ]
|
if [ $i = "$ACM" ]
|
||||||
then break
|
then break
|
||||||
fi
|
fi
|
||||||
echo "This installation script has no knowledge about $SYSNAME.
|
echo "This installation script has no knowledge about $SYSNAME.
|
||||||
|
|
|
@ -146,7 +146,7 @@ case X$ANS in
|
||||||
Xj*|Xy*|X) break
|
Xj*|Xy*|X) break
|
||||||
;;
|
;;
|
||||||
Xn*) echo Ok, I will give you another chance....
|
Xn*) echo Ok, I will give you another chance....
|
||||||
. get_sys
|
. $0
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
*) echo "I do not understand your answer ($ANS). Try again."
|
*) echo "I do not understand your answer ($ANS). Try again."
|
||||||
|
|
Loading…
Reference in a new issue