]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gcore: Remove bashisms and use POSIX sh
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 9 Oct 2025 11:15:34 +0000 (13:15 +0200)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 14 Oct 2025 04:45:35 +0000 (00:45 -0400)
commita8a65f0dc7d90eb4061ab382e302f768abfbe717
tree9ba23baa101c6fcc0d50b9582f0868c5aca958bb
parent4109b068142bc8e7c19728c163c5685fdaeea851
gcore: Remove bashisms and use POSIX sh

- Switch script shebang to /bin/sh
- Remove unnecessary `function` keywords
- Replace bash arrays with simple scalar variables
- Use $(uname -s) instead of bash specific $OSINFO

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/gcore-1.in