URL:
<http://savannah.gnu.org/bugs/?29593>
Summary: import-gnulib has #!/bin/sh but is not a POSIX sh
script
Project: findutils
Submitted by: ametzler
Submitted on: So 18 Apr 2010 12:56:04 CEST
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.5.8
Fixed Release: None
_______________________________________________________
Details:
[[ -z "$DO_NOT_WANT_CHANGELOG_DRIVER" ]]
[[ tests ]] is a bash extension, therefore import-gnulib will not work
reliably on systems where /bin/sh is dash instead of bash.
There are two ways to fix this:
a) I am /pretty/ sure that all instances of using [[ tests ]] in the script
of could simply replaced with [ tests ].
b) Document it. Change the shebang line to /bin/bash and say "bash
import-gnulib.sh" in README-hacking.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29593>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/