On 07/13/2014 06:34 PM, Jim Meyering wrote: > On Sun, Jul 13, 2014 at 7:44 AM, Pádraig Brady <p...@draigbrady.com> wrote: >> On 07/13/2014 01:59 PM, Bernhard Voelker wrote: >>> On 07/12/2014 06:56 PM, Pádraig Brady wrote: >>>> Here is the complete rolled up patch, which I'm about ready to push. >>>> http://www.pixelbeat.org/cu/single-binary_v10.patch > > While the build succeeded with other shells, the new dependency > generation would fail with "/bin/sh: line 1: -2: substring expression < 0" > for /bin/sh that happened to be bash-3.x. Using that notation > (name=${man:4: -2}) would also fail with dash and ksh-based > shells. Here's a fix:
Good one. please push