From 79f6c09cc9705e6fcd2fef1ac48abd6e49f1c57d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Fri, 19 Feb 2021 16:18:32 +0100 Subject: [PATCH] Changes for tests --- install.sh | 2 +- update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 01b6167..866577f 100644 --- a/install.sh +++ b/install.sh @@ -118,7 +118,7 @@ create_directory() { } get_version() { - git tag | tail -n 1 > /usr/share/tinycheck/VERSION + git tag | tail -n 1 | xargs echo -n > /usr/share/tinycheck/VERSION } generate_certificate() { diff --git a/update.sh b/update.sh index 02730fa..ca39246 100644 --- a/update.sh +++ b/update.sh @@ -7,7 +7,7 @@ fi if [ $PWD = "/usr/share/tinycheck" ]; then echo "[+] Cloning the current repository to /tmp/" rm -rf /tmp/tinycheck/ &> /dev/null - cd /tmp/ && git clone https://github.com/KasperskyLab/tinycheck + cd /tmp/ && git clone --branch update-feature https://github.com/KasperskyLab/tinycheck cd /tmp/tinycheck && bash update.sh elif [ $PWD = "/tmp/tinycheck" ]; then