mirror of
https://github.com/xxh/xxh
synced 2024-11-29 15:10:18 +00:00
Merge pull request #90 from onokatio/fixhh
Update host xxh home after config loading
This commit is contained in:
commit
87f0bbc702
1 changed files with 2 additions and 0 deletions
|
@ -748,6 +748,8 @@ class xxh:
|
|||
|
||||
local_xxh_home_parent = self.local_xxh_home.parent
|
||||
|
||||
self.host_xxh_home = opt.host_xxh_home
|
||||
|
||||
if self.local_xxh_home.exists():
|
||||
if not os.access(self.local_xxh_home, os.W_OK):
|
||||
self.eeprint(f"The local xxh home path isn't writable: {self.local_xxh_home}" )
|
||||
|
|
Loading…
Reference in a new issue