From 0315d1a69d79d4fb378a7aa6ff4a70382b79f63d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 22 May 2013 10:36:21 +0200 Subject: [PATCH] autospec: syntax fix for previous --nosrpm check --- autodist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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