# YPPSC_YARRG_DICT_UPDATE=./ YPPSC_YARRG_DICT_SUBMIT=./ ./yarrg --ocean midnight --pirate aristarchus --find-island --same --raw-tsv >raw.tsv
# ./dictionary-manager --debug --approve-updates '' . .
+BEGIN { unshift @INC, qw(.) }
+
use strict (qw(vars));
use POSIX;
+no warnings qw(exec);
+
$CGI::POST_MAX= 1024*1024;
$CGI::DISABLE_UPLOADS= 1;
use Commods;
if (param('get_source')) {
- header('application/octet-stream');
+ # There's another copy of this in commod-update-receiver. Sorry.
+ print header('application/octet-stream') or die $!;
source_tarball('..', sub { print $_[0] or die $!; });
exit 0;
}