]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 30 Oct 2025 16:05:57 +0000 (16:05 +0000)
commita5c3280d60673cf00f9069b9e87fe21932238af3
tree9b7d13e63d4c487be8c69a58deb046916bcca157
parentdb1a7d28bc6950cb77fb8df9832cbc9ea4c53441
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]