]> git.ipfire.org Git - thirdparty/asterisk.git/commit
safe_asterisk: Resolve a POSIX sh problem and restore globbing behavior. 21
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)
commit00ebdc0951693286ee06bd7df979f929c2560eb2
tree841edcff77d191b0b5fd1914ad639b8eb1e46632
parenta0d7de40aac3349d6f745163ca52fbf05e505eae
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]