chiark / gitweb /
Big changes to fully configure for group
[modbot-mtm.git] / inews.INO
diff --git a/inews b/inews.INO
old mode 100755 (executable)
new mode 100644 (file)
similarity index 83%
rename from inews
rename to inews.INO
index 6ee5968..a2bbc54
--- a/inews
+++ b/inews.INO
@@ -21,7 +21,7 @@ output=`
                inews -h -Q -R <$tf
        else
                (set -e
-                echo "Newsgroups: chiark.test.moderated"
+                echo "Newsgroups: %TESTGROUP%"
                 sed 's/^Newsgroups:/X-Would-Newsgroups:/' $tf) | inews -h
        fi
 `
@@ -31,7 +31,7 @@ set -e
 if [ $rc = 0 ]
 then
        echo 'posted ok!'
-       $HOME/live/xlog/bin/record posted uk.rec.cycling.moderated <$tf
+       $HOME/live/xlog/bin/record posted %GROUP% <$tf
        exit 0
 fi