A couple of fixes: use Bourne shell, and fixed recursive call of get_sys
authorceriel <none@none>
Tue, 18 Oct 1994 16:07:27 +0000 (16:07 +0000)
committerceriel <none@none>
Tue, 18 Oct 1994 16:07:27 +0000 (16:07 +0000)
first/first
first/get_sys

index dd28c46..a24b6d1 100755 (executable)
@@ -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.
index bb0f2c4..0ff1859 100755 (executable)
@@ -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."