]> git.ipfire.org Git - thirdparty/asterisk.git/commit
safe_asterisk: Resolve a POSIX sh problem and restore globbing behavior. certified/20.7
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:07 +0000 (15:50 +0000)
commitf25b2f41e0ad74ce10ef687db7ca9307bf33dc97
tree8df4099ad4575f6a61adb3d16f128ff7c4a59e00
parent0df958f920c095e1f3819f4f38688181144026a1
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]