X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fwb-edos-builddebcheck;h=0562a95d3be189c47a308239a15a0dbbaea22f79;hb=f9353df7380dbf517dedd568dfede4c9d5faa899;hp=ec4a6dd0f0c3d1596d503b6acd5cfd9368931cb4;hpb=eeda26f9f912b6a037e80f7833abfc64f1b3ac9e;p=wannabuild.git diff --git a/bin/wb-edos-builddebcheck b/bin/wb-edos-builddebcheck index ec4a6dd..0562a95 100755 --- a/bin/wb-edos-builddebcheck +++ b/bin/wb-edos-builddebcheck @@ -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,9 +73,8 @@ 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=""; @@ -82,9 +83,8 @@ $binpackage=""; while () { if (/^\s+/) { if ($sourcestanza) { - s/^(\s*)$sourceprefix(.*)(depends on|conflicts with)/$1$2build-$3/o; - s/>/>/; - s/</) { $explanation .= $_; } } else { - if ($sourcestanza) { + if ($sourcestanza) { print "\n"; $sourcestanza=0; }