diff --git a/autodist b/autodist index 915d936..98ee23b 100755 --- a/autodist +++ b/autodist @@ -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