diff options
author | Eric Wong <e@80x24.org> | 2014-04-20 23:27:46 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-20 23:27:46 +0000 |
commit | 1c910ebd5d088b68fd1cec41285ad62641673845 (patch) | |
tree | 83bf0ec7dbd5488cb4138ac7c9b619fbb60cd5ba /scripts | |
parent | 66a26a8c44100fe4be59d82f3600a5c14495d49d (diff) | |
download | public-inbox-1c910ebd5d088b68fd1cec41285ad62641673845.tar.gz |
It should be common for a single users to be subscribed to multiple addresses/lists, so we must use the address before alias expansion. This partially reverts commit b949afc9edf89dd494cac6255c78b124d58e11a5
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/import_gmane_spool | 6 |
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"; |