]> 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)
committerSean Bright <sean@seanbright.com>
Tue, 28 Oct 2025 15:50:06 +0000 (15:50 +0000)
commitb9c71dd40d90ea956522d6cabe9a6bb54018bb93
treed8b81f7ebe30d7027c30300a661acef8cdefea59
parent086f1893ec0fec52dbdd09a408b2db3c75069c15
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]