Fix multiple jobs parsing from command line
This commit is contained in:
parent
7ea9d02c39
commit
e10abc75ba
4
autodist
4
autodist
@ -173,8 +173,8 @@ for ((i=1; i<=$#; i++)); do
|
||||
fi
|
||||
;;
|
||||
*) if [ "$AUTOSPEC_ARGS_MODE" != "1" ]; then
|
||||
JOBNAME[${#TARGET[@]}]="${!i/\#*}"
|
||||
[ "${!i/*\#}" != "${!i}" ] && JOBVER[${#TARGET[@]}]="+${!i/*\#}"
|
||||
JOBNAME[${#JOBNAME[@]}]="${!i/\#*}"
|
||||
[ "${!i/*\#}" != "${!i}" ] && JOBVER[${#JOBNAME[@]}]="+${!i/*\#}"
|
||||
else
|
||||
AUTOSPEC_ARGS="$AUTOSPEC_ARGS ${!i}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user