GNOME Bugzilla – Bug 363953
create_global_tags.sh contains bash-ism
Last modified: 2009-08-15 18:40:50 UTC
Please describe the problem: The script create_global_tags.sh fails on Ubuntu Edgy as /bin/sh is dash, not bash and thus does not support bash extension to the bourne shell syntax. It also fails if PKG_CONFIG_PATH contains some empty directory. Steps to reproduce: Ensure that /bin/sh is a symbolic link to a POSIX compliant bourne shell that does not support bash extensions (for exemple dash). Actual results: Expected results: Does this happen every time? Other information:
Created attachment 75137 [details] [review] Rewrite of the script to remove bash-ism and correctly handle empty directory
The previous patch may not apply cleanly on Changelog as it depends on some of my previous patch (submitted to the mailing-lits, but not yet to bugzilla). Otherwise, it should apply cleanly for the script itself.
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Closing all fixed bugs. Sorry for the mass update :( ...