[Build-common-hackers] Bug#617841: Bug#617841: Bug#617841: cdbs: support for exporting multiarch path variable

Jonas Smedegaard dr at jones.dk
Sat Apr 9 01:52:25 UTC 2011

tags 617841 pending

On 11-03-16 at 10:34pm, Steve Langasek wrote:
> On Wed, Mar 16, 2011 at 09:31:24AM +0100, Jonas Smedegaard wrote:
> > On Fri, Mar 11, 2011 at 10:52:08AM -0800, Steve Langasek wrote:
> > >Multiarch support is coming to Debian soon.  It would be helpful if 
> > >cdbs would start exporting DEB_HOST_MULTIARCH along with the other 
> > >standard dpkg-architecture variables.  (This variable will only be 
> > >available once dpkg 1.16.0 is uploaded; however there's no reason 
> > >for cdbs not to start exporting it now, it will just be empty until 
> > >dpkg support is in place.)


> >  From a brief test it seems that it won't just be empty if 
> > unsupported but will fail with an exit code 9.


> Why should this exit code matter?  Make doesn't care what the return 
> code of the shell function is, only the output, so the '|| true' is a 
> no-op.  I.e., it already fails gracefully without needing to spawn an 
> extra subprocess.

You are right, off course.  I am applying it now.

 - Jonas

 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110409/7cc0e567/attachment.pgp>

More information about the Build-common-hackers mailing list