chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Can compact ids and remove obsolete commodities
[ypp-sc-tools.db-live.git]
/
yarrg
/
commod-update-receiver
diff --git
a/yarrg/commod-update-receiver
b/yarrg/commod-update-receiver
index cbd98f84b2e15c64b64bd4e4d1674d856f95b1b4..e03a91828424c7da947aeb3af599402d59e4e005 100755
(executable)
--- a/
yarrg/commod-update-receiver
+++ b/
yarrg/commod-update-receiver
@@
-62,7
+62,8
@@
sub must_param ($$) {
my %o;
if (param('get_source')) {
my %o;
if (param('get_source')) {
- header('application/octet-stream');
+ # There's another copy of this in dictionary-update-receiver. Sorry.
+ print header('application/octet-stream') or die $!;
source_tarball('..', sub { print $_[0] or die $!; });
exit 0;
}
source_tarball('..', sub { print $_[0] or die $!; });
exit 0;
}