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 <james...@debian.org>