2016-05-08 20:42 GMT+02:00 Paul Eggert <[email protected]>:
> Mosè Giordano wrote:
>> Without the patch I get a
>>
>> shift: can't shift that many
>>
>> error.
>
> Thanks. It's preferable to get an error, since callers should not pass
> --prefix
> without an argument operand. However, the shell script should not be relying
> on
> undefined behavior to report the error. I installed the attached patch, which
> should fix that.
Thank you. I spotted the error while testing Gnuastro build script,
indeed git-version-gen was called in this way:
git-version-gen .tarball-version --prefix
I'm going to report the error to Gnuastro maintainer.
Bye,
Mosè