projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96960d7
)
fix fallback detection of debian build types
author
Adrian Schröter
<adrian@suse.de>
Tue, 1 Jul 2008 12:59:29 +0000
(12:59 +0000)
committer
Adrian Schröter
<adrian@suse.de>
Tue, 1 Jul 2008 12:59:29 +0000
(12:59 +0000)
Build.pm
patch
|
blob
|
history
diff --git
a/Build.pm
b/Build.pm
index
52a9a14
..
690db16
100644
(file)
--- a/
Build.pm
+++ b/
Build.pm
@@
-233,7
+233,7
@@
sub read_config {
# Fallback to old guessing method if no type (spec, dsc or kiwi) is defined
if (grep {$_ eq 'rpm'} @{$config->{'preinstall'} || []}) {
$config->{'type'} = 'spec';
- } elsif (grep {$_ eq 'deb'} @{$config->{'preinstall'} || []}) {
+ } elsif (grep {$_ eq 'deb
ianutils
'} @{$config->{'preinstall'} || []}) {
$config->{'type'} = 'dsc';
} else {
$config->{'type'} = 'UNDEFINED';