Configure scripts aren't portable

Bug #377429 reported by Jonathan Wiltshire on 2009-05-16
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released
Undecided
Dan

Bug Description

The configure scripts in common/, gnome/ and kde4/ of 0.9.24 don't use bash features - please downgrade the shebang to /bin/sh instead.

Related branches

Dan (danleweb) on 2009-05-17
Changed in backintime:
assignee: nobody → Dan (dan-le-web)
Dan (danleweb) wrote :

If I use 'sh', 'echo -e' does not seems to work !

Jonathan Wiltshire (jwiltshire) wrote :

The attached patch uses printf instead of echo for output, so it can safely be used with portable shells (tested with /bin/dash particularly, given https://wiki.ubuntu.com/DashAsBinSh).

Does the "SHELL=/bin/bash" declaration ever actually get used, or can it go?

summary: - Configure scripts don't use bash features
+ Configure scripts aren't portable
Changed in backintime:
status: New → Fix Released
Jonathan Wiltshire (jwiltshire) wrote :

This bug doesn't seem to actually be fixed, the configure scripts still depend on bash as a shell.

Changed in backintime:
status: Fix Released → New
Germar (germar) on 2013-11-20
Changed in backintime:
status: New → Fix Committed
Germar (germar) on 2013-12-12
Changed in backintime:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers