about summary refs log tree commit homepage
path: root/scripts/import_gmane_spool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/import_gmane_spool')
-rwxr-xr-xscripts/import_gmane_spool6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/import_gmane_spool b/scripts/import_gmane_spool
index e072b810..3cda0bf6 100755
--- a/scripts/import_gmane_spool
+++ b/scripts/import_gmane_spool
@@ -6,10 +6,10 @@
 =begin usage
         mkdir -p $HOME/.public-inbox
         MAINREPO=/path/to/your/repo.git
-        export RECIPIENT='list@example.com'
+        export ORIGINAL_RECIPIENT='list@example.com'
         git init --bare $MAINREPO
         export GIT_CONFIG=$HOME/.public-inbox/config
-        git config publicinbox.$LISTNAME.address $RECIPIENT
+        git config publicinbox.$LISTNAME.address $ORIGINAL_RECIPIENT
         git config publicinbox.$LISTNAME.mainrepo $MAINREPO
         unset GIT_CONFIG
         ./import_gmane_spool SLRNPULL_ROOT/news/foo/bar
@@ -22,7 +22,7 @@ use PublicInbox::Config;
 use IPC::Run qw(run);
 sub usage { "Usage:\n".join("",grep(/\t/, `head -n 24 $0`)) }
 my $spool = shift @ARGV or die usage();
-defined $ENV{RECIPIENT} or die usage();
+defined $ENV{ORIGINAL_RECIPIENT} or die usage();
 my @args = ('public-inbox-mda');
 
 chdir $spool or die "chdir $spool failed: $!\n";