[axel-devel] [axel-Bugs][311774] configure script should use /bin/bash not /bin/sh

axel-bugs at alioth.debian.org axel-bugs at alioth.debian.org
Mon Jun 22 11:30:34 UTC 2009


Bugs item #311774, was changed at 22.06.2009 11:03 by Philipp Hagemeister
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413085&aid=311774&group_id=100070

>Status: Pending
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: configure script should use /bin/bash not /bin/sh 


Initial Comment:
The configure script uses bash-specific syntax, while specifying /bin/sh as interpreter. This leads to issues on systems where /bin/sh is really 'sh' not a link to bash:

# ./configure 
./configure: syntax error at line 45: `keyname=$' unexpected

The only change needed to fix this issue is to change '/bin/sh' -> '/bin/bash' in the first line of the script.

----------------------------------------------------------------------

>Comment By: Philipp Hagemeister (phihag-guest)
Date: 22.06.2009 11:30

Message:
This is not bash-specific syntax, but the new command quoting style which is available on every POSIX-compatible /bin/sh, as specified at http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03 .
The script works fine on my system with bash 3.2, dash 0.5, busybox sh 1.10, zsh 4.3 and ksh 93. Which shell are you using?

Anyway, I reverted the configure script to the old style in rev114. Does configure work now?

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413085&aid=311774&group_id=100070



More information about the axel-devel mailing list