aboutsummaryrefslogtreecommitdiffstats
path: root/gendistrib
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-17 12:30:15 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-17 12:30:15 +0000
commitaeed8e363fa16c595537b76dba4b8187de990b15 (patch)
tree078f288bf82bea63a2a10df8f86b2d01fa2c14b4 /gendistrib
parente2fc6313328e5c89eb5329711ee24f90d55e899c (diff)
downloadrpmtools-aeed8e363fa16c595537b76dba4b8187de990b15.tar
rpmtools-aeed8e363fa16c595537b76dba4b8187de990b15.tar.gz
rpmtools-aeed8e363fa16c595537b76dba4b8187de990b15.tar.bz2
rpmtools-aeed8e363fa16c595537b76dba4b8187de990b15.tar.xz
rpmtools-aeed8e363fa16c595537b76dba4b8187de990b15.zip
Ensure links are done
Diffstat (limited to 'gendistrib')
-rwxr-xr-xgendistrib1
1 files changed, 1 insertions, 0 deletions
diff --git a/gendistrib b/gendistrib
index b1d9b64..d4a3c63 100755
--- a/gendistrib
+++ b/gendistrib
@@ -198,6 +198,7 @@ foreach (0..$#hdlists) {
unless ($nomediainfo) {
print STDERR qq(link alternate locations of synthesis and hdlists\n) unless $nooutput;
+ unlink $e->{hdlist2}, $e->{synthesis2};
link $e->{hdlist}, $e->{hdlist2}
or print STDERR qq(link failed for "$e->{hdlist2}": $!\n);
link $e->{synthesis}, $e->{synthesis2}