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:
97cde84
)
Give error and exit if no packages found
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Thu, 30 Aug 2012 09:34:15 +0000
(17:34 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Thu, 30 Aug 2012 09:36:15 +0000
(17:36 +0800)
Change-Id: I084324a5b202dd6688cf932c121edcfacdbece92
depanneur
patch
|
blob
|
history
diff --git
a/depanneur
b/depanneur
index e0638119626acf3359cd72e6a7b4f800c0bfa1ab..e2841575254caf49c9b5e7a42f1b019b33707896 100755
(executable)
--- a/
depanneur
+++ b/
depanneur
@@
-788,6
+788,9
@@
if ($buildall || @packs == 0 ) {
if (@original_specs > 1 && ! $commit eq ""){
error("--commit option can't be specified with multiple packages");
}
+ if (@original_specs == 0) {
+ error("No source package found at $path");
+ }
} elsif ($style eq "obs") {
File::Find::find({wanted => \&obs_wanted}, $package_path );
}