mirror of
https://github.com/xxh/xxh
synced 2024-11-26 21:50:25 +00:00
0.6.22
This commit is contained in:
parent
07ed3d914f
commit
28f5efa1f0
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ from urllib.parse import urlparse
|
|||
from base64 import b64encode
|
||||
from .shell import *
|
||||
|
||||
XXH_VERSION = '0.6.21'
|
||||
XXH_VERSION = '0.6.22'
|
||||
|
||||
class xxh:
|
||||
def __init__(self):
|
||||
|
@ -226,7 +226,7 @@ class xxh:
|
|||
|
||||
host = self.url.hostname
|
||||
host_info_s = """
|
||||
xxh_home_realpath=$([ ! -x "$(command -v realpath)" ] && dirname {host_xxh_home}/p || realpath -m {host_xxh_home})
|
||||
xxh_home_realpath=$([ ! -x "$(command -v realpath)" ] && readlink -f {host_xxh_home} || realpath -m {host_xxh_home})
|
||||
xxh_version="dir_not_found"
|
||||
if [[ -d $xxh_home_realpath ]]; then
|
||||
xxh_version=$([ "$(ls -A $xxh_home_realpath)" ] && echo "version_not_found" || echo "dir_empty")
|
||||
|
|
Loading…
Reference in a new issue