From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: /bin/sh in configure tests Date: Sun, 13 Jan 2013 23:06:27 +0100 Message-ID: <201301132306.27948.andreas@enge.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_j/y8Q4miyu32rJh" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuVhX-0005Yg-MO for bug-guix@gnu.org; Sun, 13 Jan 2013 17:06:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuVhL-0005AT-6R for bug-guix@gnu.org; Sun, 13 Jan 2013 17:06:47 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:59031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuVhK-0005AK-T5 for bug-guix@gnu.org; Sun, 13 Jan 2013 17:06:35 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --Boundary-01=_j/y8Q4miyu32rJh Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit A package I am trying to build contains the following lines in its configure: case `/bin/sh -c "echo -n x"` in -n*) case `/bin/sh -c "echo 'x\c'"` in ... Would it make sense to globally add a rule to patch-shebangs so that "`/bin/sh" is replaced? If not, how can this be handled? Andreas --Boundary-01=_j/y8Q4miyu32rJh Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

A package I am trying to build contains the following lines in its configure:

 

case `/bin/sh -c "echo -n x"` in

-n*)

case `/bin/sh -c "echo 'x\c'"` in

...

 

Would it make sense to globally add a rule to patch-shebangs so that

"`/bin/sh" is replaced? If not, how can this be handled?

 

Andreas

 

--Boundary-01=_j/y8Q4miyu32rJh--