Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:user5664536
arc_unpacker
etc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File etc.patch of Package arc_unpacker
diff --git a/src/io/program_path.cc b/src/io/program_path.cc index c268c776..8907c3e4 100644 --- a/src/io/program_path.cc +++ b/src/io/program_path.cc @@ -38,7 +38,11 @@ io::path io::get_program_path() io::path io::get_assets_dir_path() { - auto dir = program_path.parent(); + io::path dir; + if (std::getenv("_ARC_UNPACKER_TESTS")) + dir = program_path; + else + dir = io::path("/usr/share/arc_unpacker"); do { const auto path = dir / "etc";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor