autospec: syntax fix for previous --nosrpm check

This commit is contained in:
Silvan Calarco 2013-05-22 10:36:21 +02:00
parent 8751a555bc
commit 0315d1a69d

View File

@ -1264,7 +1264,7 @@ for JOB_NUM in `seq 1 ${#JOBNAME[*]}`; do
esac
}
# avoid calling autospec with --nosrpm --norpm (not working as expected and not useful)
if [ "$AUTOSPEC_ARGS/--nosrpm" = "$AUTOSPEC_ARGS" ]; then
if [ "${AUTOSPEC_ARGS/--nosrpm}" = "$AUTOSPEC_ARGS" ]; then
echo "== sending source rpms"
launch_pkgs_loop send "$AUTOSPEC_ARGS --norpm $SEND_SERVER_CMD"
if [ $? -gt 0 ]; then