projects
/
tools
/
depanneur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43f65d8
)
remove export cache if gbs export fails
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Mon, 10 Sep 2012 06:32:22 +0000
(14:32 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Mon, 10 Sep 2012 07:03:08 +0000
(15:03 +0800)
Change-Id: I48264a6bac288c5de3ca3e4a548f14e0ad532338
depanneur
patch
|
blob
|
history
diff --git
a/depanneur
b/depanneur
index fc86d4790de7b340dd88adc40d6a9e2a551983d5..b37ad4003e03d94f038d2ceb2d7293bf1a6a2e71 100755
(executable)
--- a/
depanneur
+++ b/
depanneur
@@
-429,7
+429,8
@@
sub prepare_git {
if ( system($cmd) == 0 ) {
push(@packs, "$pkg_path/$pkg_name-$pkg_version-$pkg_release/$spec_file");
} else {
- debug("$name was not exported correctly");
+ unlink "$cache_path/$pkg_name-$pkg_version-$pkg_release";
+ debug("$pkg_name was not exported correctly");
}
}
}