X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fwb-edos-builddebcheck;h=0562a95d3be189c47a308239a15a0dbbaea22f79;hb=694c3946f3583e7435830b1c778198052009e662;hp=0cec41ceae960ee882ff61420803b80d2be2d953;hpb=2ac5454880b42ac90db3bca61fc04fd82c993987;p=wannabuild.git diff --git a/bin/wb-edos-builddebcheck b/bin/wb-edos-builddebcheck index 0cec41c..0562a95 100755 --- a/bin/wb-edos-builddebcheck +++ b/bin/wb-edos-builddebcheck @@ -12,7 +12,7 @@ $sourceprefix="source---"; $architecture=""; $binexplain=0; -$edosoptions = "-failures -explain"; +$edosoptions = "-failures -explain -quiet"; while ( $arg = shift @ARGV ) { if ( $arg eq '-a' || $arg eq '--architecture' ) { if ($#ARGV == -1) { @@ -43,6 +43,8 @@ if ($debug) { print "Edos options: $edosoptions\n"; } +# check that all stanzas in the binary package file have the same +# architecture. $packagearch=""; open(P,$packagefile); while (
) {
@@ -71,22 +73,18 @@ if ( $architecture eq "" ) {
}
}
-open(RESULT,"add-sources.py ".
- "--prefix \"$sourceprefix\" < $packagefile $sourcesfile $architecture ".
- "| edos-debcheck $edosoptions|");
+open(RESULT,"cat $sourcesfile".
+ "| edos-debcheck $edosoptions '-base FILE' $packagefile |");
$sourcestanza=0;
$explanation="";
$binpackage="";
while (