Changes for tests
This commit is contained in:
		@@ -118,7 +118,7 @@ create_directory() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
get_version() {
 | 
					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() {
 | 
					generate_certificate() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@ fi
 | 
				
			|||||||
if [ $PWD = "/usr/share/tinycheck" ]; then
 | 
					if [ $PWD = "/usr/share/tinycheck" ]; then
 | 
				
			||||||
    echo "[+] Cloning the current repository to /tmp/"
 | 
					    echo "[+] Cloning the current repository to /tmp/"
 | 
				
			||||||
    rm -rf /tmp/tinycheck/ &> /dev/null 
 | 
					    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
 | 
					    cd /tmp/tinycheck && bash update.sh
 | 
				
			||||||
elif [ $PWD = "/tmp/tinycheck" ]; then
 | 
					elif [ $PWD = "/tmp/tinycheck" ]; then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user