about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-04-02 22:32:13 +0000
committerEric Wong <e@80x24.org>2016-04-02 22:33:58 +0000
commit49978fa6086ad23927805d24d9adb70b96ec337a (patch)
treee1c74177c777a5695695f56fe0c8715f4b8cf37e /lib
parent0b766f54ad829d08cc7bd66fffc8ed8515241dc3 (diff)
downloadpublic-inbox-49978fa6086ad23927805d24d9adb70b96ec337a.tar.gz
Little harm in having the entire command-line for users and
avoiding the cognitive overhead of figuring out $URL.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/WWW.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index 369be686..bb54aaa6 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -277,12 +277,11 @@ sub footer {
         my $ssoma_url = PublicInbox::Hval::prurl($cgi->{env}, SSOMA_URL);
         if (scalar(@urls) == 1) {
                 $urls = "URL for <a\nhref=\"" . $ssoma_url .
-                        qq(">ssoma</a> or <b>git clone --mirror \$URL</b> :) .
-                        $urls[0];
+                        qq(">ssoma</a> or <b>git clone --mirror $urls[0]</b>);
         } else {
                 $urls = "URLs for <a\nhref=\"" . $ssoma_url .
-                        qq(">ssoma</a> or <b>git clone --mirror \$URL</b>\n) .
-                        join("\n", map { "\t$_" } @urls);
+                        qq(">ssoma</a> or <b>git clone --mirror</b>\n) .
+                        join("\n", map { "\tgit clone --mirror $_" } @urls);
         }
 
         my $addr = $ctx->{pi_config}->get($listname, 'address');