git.annexia.org
/
fedora-mingw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b11ae1
)
After a successful build, remove the scratch directory.
author
Richard W.M. Jones
<rjones@redhat.com>
Sun, 25 Jan 2009 10:59:18 +0000
(10:59 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sun, 25 Jan 2009 10:59:18 +0000
(10:59 +0000)
smock/smock.pl
patch
|
blob
|
history
diff --git
a/smock/smock.pl
b/smock/smock.pl
index
2038a82
..
ff492ca
100755
(executable)
--- a/
smock/smock.pl
+++ b/
smock/smock.pl
@@
-360,7
+360,10
@@
foreach my $arch (@arches) {
system ("mv $scratchdir/*.rpm $localrepo/$distro/$arch/RPMS") == 0 or die "mv";
my_mkdir "$localrepo/$distro/$arch/logs/$name-$version-$release";
system ("mv $scratchdir/*.log $localrepo/$distro/$arch/logs/$name-$version-$release/") == 0 or die "mv";
+ system "rm -rf $scratchdir";
+
createrepo ($arch, $distro);
+
}
else {
push @errors, "$name-$distro-$arch";