[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] On the 'ra-git' branch: update to libgit2 v0.22

From: James McCoy <jamessan_at_debian.org>
Date: Mon, 30 Mar 2015 19:28:04 -0400

On Tue, Mar 31, 2015 at 12:13:09AM +0200, Branko Čibej wrote:
> On 30.03.2015 20:26, Daniel Shahaf wrote:
> > Carlos Martín Nieto wrote on Mon, Mar 30, 2015 at 16:58:57 +0200:
> >> +++ autogen.sh (working copy)
> >> - configfile=${LIBTOOL_CONFIG-`cd $ltpath/../share/libtool/config ; pwd`/$file}
> >> + configfile=${LIBTOOL_CONFIG-$(cd $ltpath/../share/libtool/config ; pwd)}/$file
> > Is it safe to use $(...)?
>
> It is not. autogen.sh must not require bash.

$(...) isn't a bash-ism. It's specified by POSIX[0].

[0]: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03

Cheers,

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan_at_debian.org>
Received on 2015-03-31 01:33:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.