/usr/bin/create_global_tags.sh: 3: function: not found

Bug #63202 reported by Removed by request
16
Affects Status Importance Assigned to Milestone
Anjuta
Fix Released
Medium
anjuta (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: anjuta

run:
/usr/bin/create_global_tags.sh

$ create_global_tags.sh
/usr/bin/create_global_tags.sh: 3: function: not found
shift: 11: can't shift that many

$ dpkg -S /usr/bin/create_global_tags.sh
anjuta: /usr/bin/create_global_tags.sh

Version: 2.0.2-2ubuntu1

Revision history for this message
Peter S (speter) wrote :

Seems to be triggered by the shift from bash to dash as the default /bin/sh.
https://launchpad.net/distros/ubuntu/+spec/dash-as-bin-sh

Solution: change shell in line 1 from /bin/sh to /bin/bash and add bash as a dependency.

Revision history for this message
Danilo Cesar (danilo-eu) wrote :

Its happens here too,

Soluction that peter describe resolv the problem.

Changed in anjuta:
status: Unconfirmed → Confirmed
Changed in anjuta:
status: Unknown → Fix Released
Revision history for this message
William Grant (wgrant) wrote :

Is this fixed in Feisty or Gutsy?

Changed in anjuta:
status: Confirmed → Needs Info
Revision history for this message
Peter S (speter) wrote :

Feisty comes with version 1.2.4a (stable branch) rather than 2.x (beta branch). The version in Feisty does not include the create_global_tags.sh script. So the bug can be considered fixed for Feisty.

Revision history for this message
Steve Kowalik (stevenk) wrote :

I concur, with Feisty and Gutsy moving back to the stable version.

Changed in anjuta:
status: Incomplete → Fix Released
Changed in anjuta:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.