On Friday, July 20 2018, GSR wrote:

> Hello:
>
> The shebang line of gcore script points to sh (dash here), and when
> trying to use it stops immediately with:
>
> ---8<---
> /usr/bin/gcore: 28: /usr/bin/gcore: Syntax error: "(" unexpected
> --->8---
>
> Changing sh to bash in the first line of the script makes it work
> again. That or fix line 28 (and any other) to be compatible with basic
> sh syntax.

FWIW, this has been fixed upstream by:

commit e1e6f073a9f5d7c3183cb8096fb24a42c28ba36b
Author: Georg Sauthoff <m...@georg.so>
Date:   Thu Mar 1 17:23:31 2018 -0500

    Improve gcore shell quoting and portability


-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/

Attachment: signature.asc
Description: PGP signature

Reply via email to