LWN.net Logo

Just run configure under bash explicitly

Just run configure under bash explicitly

Posted May 27, 2010 22:38 UTC (Thu) by proski (subscriber, #104)
Parent article: De-bashing Debian

I think a reasonably simple short term solution would be to run configure scripts in bash:

/bin/bash ./configure

That would avoid crippling dash while making the build systems use the same shell they were using before dash started supporting $LINENO.

Upstream developers using Debian would run ./configure under dash and will fix the bashisms eventually.


(Log in to post comments)

Just run configure under bash explicitly

Posted May 27, 2010 23:48 UTC (Thu) by ABCD (subscriber, #53650) [Link]

The proper way to do that would be to run `env CONFIG_SHELL=/bin/bash /bin/bash ./configure`, so that configure knows to use /bin/bash to start any subshells (for instance, in the shebang of config.status).

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds