[SCM] pkg-kde repository scripts branch, master, updated. fe8706b4770c6de12e06bf1bf6f07c3cad5eb721
Modestas Vainius
modax at alioth.debian.org
Tue Dec 8 19:40:57 UTC 2009
The following commit has been merged in the master branch:
commit fe8706b4770c6de12e06bf1bf6f07c3cad5eb721
Author: Modestas Vainius <modestas at vainius.eu>
Date: Tue Dec 8 21:40:09 2009 +0200
Wait for running reprepro instance to complete.
Current behaviour was to fail.
---
reprepro-html-index | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/reprepro-html-index b/reprepro-html-index
index 95ba3a4..d16cae7 100755
--- a/reprepro-html-index
+++ b/reprepro-html-index
@@ -45,7 +45,8 @@ sub new {
my $class=shift;
my $args=shift || {};
unshift @{$args->{'list-format'}}, qw/${$identifier} ${package} ${version}/;
- open(my $proc, '-|', REPREPRO, '--list-format', join("\x1E", @{$args->{'list-format'}}) . '\n', @_)
+ open(my $proc, '-|', REPREPRO, '--waitforlock', '4',
+ '--list-format', join("\x1E", @{$args->{'list-format'}}) . '\n', @_)
or die "Unable to run reprepro";
return bless { proc => $proc }, $class;
}
--
pkg-kde repository scripts
More information about the pkg-kde-commits
mailing list