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
|
fi
|
||||||
;;
|
;;
|
||||||
*) if [ "$AUTOSPEC_ARGS_MODE" != "1" ]; then
|
*) if [ "$AUTOSPEC_ARGS_MODE" != "1" ]; then
|
||||||
JOBNAME[${#TARGET[@]}]="${!i/\#*}"
|
JOBNAME[${#JOBNAME[@]}]="${!i/\#*}"
|
||||||
[ "${!i/*\#}" != "${!i}" ] && JOBVER[${#TARGET[@]}]="+${!i/*\#}"
|
[ "${!i/*\#}" != "${!i}" ] && JOBVER[${#JOBNAME[@]}]="+${!i/*\#}"
|
||||||
else
|
else
|
||||||
AUTOSPEC_ARGS="$AUTOSPEC_ARGS ${!i}"
|
AUTOSPEC_ARGS="$AUTOSPEC_ARGS ${!i}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user