Allow "|" in "system" lines, must be in quotes
authorceriel <none@none>
Thu, 2 Apr 1987 09:07:05 +0000 (09:07 +0000)
committerceriel <none@none>
Thu, 2 Apr 1987 09:07:05 +0000 (09:07 +0000)
TakeAction

index f7b3ac8..a2f56f7 100755 (executable)
@@ -44,12 +44,18 @@ do
                        FAIL="$2" ;;
        xsuccess)       SUCC="$2" ;;
        xdir)           DIR="$2" ;;
-       xsystem)        case `ack_sys` in
-                       $2)     ;;
-                       *)      echo "Sorry, $SYS can only be made on $2 systems"
+       xsystem)        PAT="$2"
+                       oIFS=$IFS
+                       IFS="|"
+                       eval set $2
+                       case x`ack_sys` in
+                       x$1|x$2|x$3|x$4|x$5|x$6|x$7)    ;;
+                       *)      echo "Sorry, $SYS can only be made on $PAT systems"
                                DOIT=no
                                ;;
-                       esac ;;
+                       esac
+                       IFS=$oIFS
+                       ;;
        xend)           case $DOIT in
                        no)     continue ;;
                        esac