mirror of
https://github.com/xxh/xxh
synced 2024-11-23 12:23:04 +00:00
#2 micro
This commit is contained in:
parent
a1a92838c9
commit
3923020bb8
3 changed files with 2 additions and 2 deletions
2
setup.py
2
setup.py
|
@ -10,7 +10,7 @@ setuptools.setup(
|
||||||
install_requires=['xonsh'],
|
install_requires=['xonsh'],
|
||||||
platforms='Unix-like',
|
platforms='Unix-like',
|
||||||
scripts=['xxh'],
|
scripts=['xxh'],
|
||||||
package_data={'xonssh_xxh':['*.xsh']},
|
package_data={'xonssh_xxh':['*.xsh', '*.sh']},
|
||||||
packages=setuptools.find_packages(),
|
packages=setuptools.find_packages(),
|
||||||
classifiers=["Programming Language :: Python :: 3"],
|
classifiers=["Programming Language :: Python :: 3"],
|
||||||
license="BSD",
|
license="BSD",
|
||||||
|
|
2
xxh
2
xxh
|
@ -147,7 +147,7 @@ if os.path.abspath(opt.host_xxh_home) == '/':
|
||||||
print("Host xxh home path {host_xxh_home} looks like /. Please check twice!")
|
print("Host xxh home path {host_xxh_home} looks like /. Please check twice!")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
host_info = $(cat host_info.sh | sed @(f's|_xxh_home_|{opt.host_xxh_home}|') | ssh @(ssh_arguments) @(host) -T "bash -s" ).strip()
|
host_info = $(cat @(f"{package_dir_path}/host_info.sh") | sed @(f's|_xxh_home_|{opt.host_xxh_home}|') | ssh @(ssh_arguments) @(host) -T "bash -s" ).strip()
|
||||||
|
|
||||||
if host_info == '':
|
if host_info == '':
|
||||||
print(f'Unknown answer from host when checking user home path. Check your connection parameters using ordinary ssh')
|
print(f'Unknown answer from host when checking user home path. Check your connection parameters using ordinary ssh')
|
||||||
|
|
Loading…
Reference in a new issue