After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 363953 - create_global_tags.sh contains bash-ism
create_global_tags.sh contains bash-ism
Status: VERIFIED FIXED
Product: anjuta
Classification: Applications
Component: core application
CVS HEAD
Other All
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-21 16:22 UTC by Sylvain Defresne
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Rewrite of the script to remove bash-ism and correctly handle empty directory (5.91 KB, patch)
2006-10-21 16:23 UTC, Sylvain Defresne
committed Details | Review

Description Sylvain Defresne 2006-10-21 16:22:01 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:
Comment 1 Sylvain Defresne 2006-10-21 16:23:07 UTC
Created attachment 75137 [details] [review]
Rewrite of the script to remove bash-ism and correctly handle empty directory
Comment 2 Sylvain Defresne 2006-10-21 16:24:48 UTC
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.
Comment 3 Johannes Schmid 2006-10-22 17:57:24 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Comment 4 Naba Kumar 2006-12-04 10:01:51 UTC
Closing all fixed bugs. Sorry for the mass update :( ...