diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-06-15 20:00:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-06-15 20:00:49 +0000 |
commit | d56ee13624590129c49ed2424c1ee2814837e560 (patch) | |
tree | 08ca8f09a6659b252a3d25da7eecd102624bfeaa /URPM/Build.pm | |
parent | f84bdb6106e4009f4cd32ee1f4a43bc397d12ef2 (diff) | |
download | perl-URPM-d56ee13624590129c49ed2424c1ee2814837e560.tar perl-URPM-d56ee13624590129c49ed2424c1ee2814837e560.tar.gz perl-URPM-d56ee13624590129c49ed2424c1ee2814837e560.tar.bz2 perl-URPM-d56ee13624590129c49ed2424c1ee2814837e560.tar.xz perl-URPM-d56ee13624590129c49ed2424c1ee2814837e560.zip |
document the fact that build_synthesis returns true on success
Diffstat (limited to 'URPM/Build.pm')
-rw-r--r-- | URPM/Build.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/URPM/Build.pm b/URPM/Build.pm index 66de723..72df420 100644 --- a/URPM/Build.pm +++ b/URPM/Build.pm @@ -445,6 +445,7 @@ sub build_hdlist { #- end : index of last package (defaults to last index of depslist). #- idlist : id list of rpm to compute (defaults is start .. end) #- ratio : compression ratio (default 9). +#- returns true on success sub build_synthesis { my ($urpm, %options) = @_; my ($ratio, @idlist); @@ -477,7 +478,7 @@ sub build_synthesis { $pkg->build_info($options{synthesis} ? fileno $fh : $options{fd}, join('@', keys %files)); } - close $fh; + close $fh; # returns true on success } #- write depslist.ordered file according to info in params. |