]> git.ipfire.org Git - thirdparty/asterisk.git/commit
safe_asterisk: Resolve a POSIX sh problem and restore globbing behavior.
authorSean Bright <sean@seanbright.com>
Wed, 22 Oct 2025 14:53:46 +0000 (10:53 -0400)
committerSean Bright <sean@seanbright.com>
Tue, 28 Oct 2025 15:50:05 +0000 (15:50 +0000)
commit5c5942a2b77620481fd7d6147d6e4ad31df883bc
tree42daf25ab9d27e289c8161a98c9763572a074bec
parentcbfbc4d0e85a38c65e94a7229665cdc47d46120e
safe_asterisk: Resolve a POSIX sh problem and restore globbing behavior.

* Using `==` with the POSIX sh `test` utility is UB.
* Switch back to using globs instead of using `$(find … | sort)`.
* Fix a missing redirect when checking for the OS type.

Resolves: #1554
contrib/scripts/safe_asterisk [changed mode: 0644->0755]