aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2018-06-04 08:54:31 -0700
committerMark Sapiro <mark@msapiro.net>2018-06-04 08:54:31 -0700
commite3da06f338f4ebf125de481bbad5ae7d2bf7a282 (patch)
tree3c783d0839aa8784dd4a9014026a7f11332660a2
parent8514e1b722068eace3a9e20bf274a2ae37cdafa3 (diff)
downloadmailman2-e3da06f338f4ebf125de481bbad5ae7d2bf7a282.tar.gz
mailman2-e3da06f338f4ebf125de481bbad5ae7d2bf7a282.tar.xz
mailman2-e3da06f338f4ebf125de481bbad5ae7d2bf7a282.zip
Changed mailman-config to single-quote parameters.
-rw-r--r--NEWS3
-rw-r--r--bin/mailman-config22
2 files changed, 14 insertions, 11 deletions
diff --git a/NEWS b/NEWS
index 6bf52502..0841d402 100644
--- a/NEWS
+++ b/NEWS
@@ -60,6 +60,9 @@ Here is a history of user visible changes to Mailman.
a message will be displayed on the subscribe form that JavaScript is
required. (LP: #1769374)
+ - Quoting in the mailman-config command has been changed from double to
+ single quotes to allow double-quoted parameters. (LP:1774986)
+
2.1.26 (04-Feb-2018)
Security
diff --git a/bin/mailman-config b/bin/mailman-config
index 6f845270..b9304b1b 100644
--- a/bin/mailman-config
+++ b/bin/mailman-config
@@ -24,17 +24,17 @@ installation of Mailman. Requires python 2."""
print """Configuration and build information for Mailman\n"""
-print "Mailman version: %s" % "@MM_VERSION@"
-print "Build Date: %s" % "@BUILD_DATE@"
-print ""
-print "prefix: %s" % "@prefix@"
-print "var_prefix: %s" % "@VAR_PREFIX@"
-print "mailman_user: %s" % "@MAILMAN_USER@"
-print "mailman_group: %s" % "@MAILMAN_GROUP@"
-print "mail_group: %s" % "@MAIL_GROUP@"
-print "cgi_group: %s" % "@CGI_GROUP@"
-print ""
+print 'Mailman version: %s' % '@MM_VERSION@'
+print 'Build Date: %s' % '@BUILD_DATE@'
+print ''
+print 'prefix: %s' % '@prefix@'
+print 'var_prefix: %s' % '@VAR_PREFIX@'
+print 'mailman_user: %s' % '@MAILMAN_USER@'
+print 'mailman_group: %s' % '@MAILMAN_GROUP@'
+print 'mail_group: %s' % '@MAIL_GROUP@'
+print 'cgi_group: %s' % '@CGI_GROUP@'
+print ''
-print "configure_opts: \"%s\"" % "@CONFIGURE_OPTS@"
+print 'configure_opts: "%s"' % '@CONFIGURE_OPTS@'