diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-16 13:15:16 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-16 13:15:16 +0000 |
commit | 88ec1f37b6cc9236df71f15432e79f5701e96a1d (patch) | |
tree | 9c7fc667386a5aa85db9bc4a56dcfe6a927506e7 | |
parent | 78edce52c554512d8cbfc37616b64bc0fabf71af (diff) | |
download | rpmtools-88ec1f37b6cc9236df71f15432e79f5701e96a1d.tar rpmtools-88ec1f37b6cc9236df71f15432e79f5701e96a1d.tar.gz rpmtools-88ec1f37b6cc9236df71f15432e79f5701e96a1d.tar.bz2 rpmtools-88ec1f37b6cc9236df71f15432e79f5701e96a1d.tar.xz rpmtools-88ec1f37b6cc9236df71f15432e79f5701e96a1d.zip |
Fix the location where the MD5SUM files are generated (thanks joeghi)
-rwxr-xr-x | gendistrib | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -313,13 +313,13 @@ foreach (0..$#hdlists) { my $here = getcwd(); chdir $e->{thismediainfo}; my $md5sum = `/usr/bin/md5sum hdlist* synthesis*`; + chdir $here; if (open my $md5sumfh, '>', $e->{md5sum}) { print $md5sumfh $md5sum; close $md5sumfh; } else { print STDERR qq(Can't create "$e->{md5sum}": $!\n); } - chdir $here; } } @@ -350,13 +350,13 @@ if (grep { ! $_->{noneedrebuild} } @hdlists) { my $here = getcwd(); chdir $destinfodir; my $md5sum = `/usr/bin/md5sum hdlist* synthesis*`; + chdir $here; if (open my $md5sumfh, '>', $urpmfiles{md5sum}) { print $md5sumfh $md5sum; close $md5sumfh; } else { print STDERR qq(Can't create "$urpmfiles{md5sum}": $!\n); } - chdir $here; } print STDERR "Building version file\n" unless $nooutput; |