Hi,

Trying to build the latest revision (in an existing 'coreutil' directory after 
'git pull', not a fresh clone),

"./bootstrap" fails at the very end with:
    build-aux/gen-single-binary.sh: 52: build-aux/gen-single-binary.sh: Bad 
substitution
   ./bootstrap: bootstrap_post_import_hook failed

Line 52 of "build-aux/gen-single-binary.sh" has:
   eval "$var='$oldvalue "${value//\'/\'\"\'\"\'}"'"

Which I guess is a non-posix standard parameter expansion ( $(VAR//} works in 
bash but not in dash ).

As an ugly work-around, modifying "gen-single-binary.sh" from "#!/bin/sh" to 
"#!/bin/bash" avoids the problem - so this is likely the culprit.

- Assaf

P.S.
"gen-single-binary.sh" also doesn't have copyright or license statement - don't 
know if that's intentional or not.






Reply via email to