Changes for tests
This commit is contained in:
parent
b0869a94c9
commit
79f6c09cc9
@ -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() {
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user