# | Line 24 | Line 24 | struct Command : public ext::ReferenceCo | |
---|---|---|
24 | const api::Path root; | |
25 | operator api::Path() const { return root; } | |
26 | protected: | |
27 | + | #ifdef __FreeBSD__ |
28 | Command(const cse::String &root) : root(api::Path(root).GetRealPath()) {} | |
29 | + | #else |
30 | + | Command(const cse::String &root) : root((root.IsEmpty() ? api::Path(_B(".")) : api::Path(root)).GetRealPath()) {} |
31 | + | #endif |
32 | }; | |
33 | ||
34 | class CommandRunner |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |