Allow "|" in "system" lines, must be in quotes
This commit is contained in:
parent
22c23521a3
commit
ab6816c074
1 changed files with 10 additions and 4 deletions
14
TakeAction
14
TakeAction
|
@ -44,12 +44,18 @@ do
|
||||||
FAIL="$2" ;;
|
FAIL="$2" ;;
|
||||||
xsuccess) SUCC="$2" ;;
|
xsuccess) SUCC="$2" ;;
|
||||||
xdir) DIR="$2" ;;
|
xdir) DIR="$2" ;;
|
||||||
xsystem) case `ack_sys` in
|
xsystem) PAT="$2"
|
||||||
$2) ;;
|
oIFS=$IFS
|
||||||
*) echo "Sorry, $SYS can only be made on $2 systems"
|
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
|
DOIT=no
|
||||||
;;
|
;;
|
||||||
esac ;;
|
esac
|
||||||
|
IFS=$oIFS
|
||||||
|
;;
|
||||||
xend) case $DOIT in
|
xend) case $DOIT in
|
||||||
no) continue ;;
|
no) continue ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue