Page MenuHomeDevCentral

Detect BSD as current OS
ClosedPublic

Authored by dereckson on Apr 15 2023, 13:48.
Tags
None
Referenced Files
F53561179: D3024.diff
Sat, Oct 10, 21:18
F53546964: D3024.id7717.diff
Sat, Oct 10, 19:28
F53546905: D3024.id7718.diff
Sat, Oct 10, 19:27
F53531603: D3024.diff
Sat, Oct 10, 17:14
F53485894: D3024.diff
Sat, Oct 10, 08:25
Unknown Object (File)
Fri, Oct 9, 05:39
Unknown Object (File)
Fri, Oct 9, 03:30
Unknown Object (File)
Mon, Sep 28, 16:34
Subscribers
None

Details

Summary

Allow to fix paths according hier(7):

use Keruald\OmniTools\OS\CurrentOS;

if (CurrentOS::isBSD()) {
    $luaPath = "/usr/local/bin/lua54";
}
Test Plan

CurrentOS::isBSD() on a FreeBSD dev server

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4778
Build 5059: arc lint + arc unit