From 06d4c75c9033c2af016723b3d557deab85394edf Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 22 Apr 2013 12:27:28 +0200 Subject: [PATCH] autoport: send webbuild messages also when not in batch mode --- autoport | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoport b/autoport index 53202cb..32618ae 100755 --- a/autoport +++ b/autoport @@ -556,7 +556,7 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do echo $JOB_CURRENT >> $DATAARCHDIR/sentjobs echo -n "(OK) " autoport_log ${JOB_CURRENT} port ok - if [ "$BATCH_MODE" -a "$WEBBUILD_URL" -a "$WEBBUILD_USER" ]; then + if [ "$WEBBUILD_URL" -a "$WEBBUILD_USER" ]; then curl -s "$WEBBUILD_URL?REQUEST=message&USER=$WEBBUILD_USER&SECRET=$WEBBUILD_SECRET&USER_EMAIL=$WEBBUILD_EMAIL&\ MESSAGE=`cgi_encodevar \"ported $JOB_CURRENT to $TARGET_ARCH and sent it to $pkg_repository\"`" >/dev/null fi