From d6b7d8000a5bc5fd9d9e3b33f16890f068968d39 Mon Sep 17 00:00:00 2001 From: remittor Date: Thu, 17 Apr 2025 19:15:34 +0300 Subject: [PATCH] run.sh: Fix tr arguments --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 2e45e3e..5495d7a 100755 --- a/run.sh +++ b/run.sh @@ -32,12 +32,12 @@ if [ ! -e "$VIRTUAL_ENV" ] || ! type deactivate &> /dev/null ; then exit 1 fi -SSH2_PKG=`find ./venv -type d -wholename '*/site-packages/ssh2_python*' | wc -l | tr -d' '` +SSH2_PKG=`find ./venv -type d -wholename '*/site-packages/ssh2_python*' | wc -l | tr -d ' '` if [ "$SSH2_PKG" = "0" ]; then # install python3 -m pip install -r requirements.txt # check - SSH2_PKG=`find ./venv -type d -wholename '*/site-packages/ssh2_python*' | wc -l | tr -d' '` + SSH2_PKG=`find ./venv -type d -wholename '*/site-packages/ssh2_python*' | wc -l | tr -d ' '` if [ "$SSH2_PKG" = "0" ]; then echo "ERROR: XMiR: python3 package 'ssh2-python' not installed!" deactivate