[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] tools/configure: drop BASH configure variable
Andrew Cooper writes ("[PATCH] tools/configure: drop BASH configure variable"): > This is a weird variable to have in the first place. The only user of it is > XSM's CONFIG_SHELL, which opencodes a fallback to sh, and the only two scripts > run with this are shebang sh anyway, so don't need bash in the first place. Thanks for this cleanup. I agree with the basic idea. However, did you run these scripts with dash, or review them, to check for bashisms ? It is not unusual to find scripts which need bash but which mistaken have #!/bin/sh - especially if the usual arrangements for running them always use bash anyway. So the presence of the #!/bin/sh is only rather weak evidence that these scripts will be fine when run with sh. > Make the mkflask.sh and mkaccess_vector.sh scripts executable, drop the > CONFIG_SHELL, and drop the $BASH variable to prevent further use. Since the build currently uses bash for these, a more neutral change would be to change to #!/bin/bash at the same time. > RFC for 4.14. This is a cleanup to the build system. I see this already has a release-ack. However, I would not have recommended granting one at least on the basis of the description above. I agree that this is cleanup. But the current situation is not buggy. I'm not sure exactly what the release criteria are but ISTM that this patch adds risk to the release rather than removing it. Thanks for your attention. Ian.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |