]> 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)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 28 Oct 2025 15:50:20 +0000 (15:50 +0000)
commit1564548980f83106c1c573d1d556e055abb0b6d3
treeaf202d7a03e0ae07b1a0596000c24df475e47287
parent438649b30d72045376e9392cbf3938beba71deac
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]