[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29593] import-gnulib has #!/bin/sh but is not a POSIX sh script
From: |
Andreas Metzler |
Subject: |
[bug #29593] import-gnulib has #!/bin/sh but is not a POSIX sh script |
Date: |
Sun, 18 Apr 2010 10:56:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.19) Gecko/2010033100 Iceweasel/3.0.6 (Debian-3.0.6-3) |
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/
- [bug #29593] import-gnulib has #!/bin/sh but is not a POSIX sh script,
Andreas Metzler <=