]> git.ipfire.org Git - thirdparty/asterisk.git/commit
safe_asterisk: Resolve a POSIX sh problem and restore globbing behavior. 18
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:04 +0000 (15:50 +0000)
commit7cc2a30c08fba75ee22aabe6253152ade4dbf887
treeda20aa6c9dd6b8640478e119eecf1040da59c7d0
parent0a41eec5322688ee5d42f869d0bac51b72009162
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]