mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	Fix usage of removed $WORKSPACE variable in run-tests
This commit is contained in:
		
							parent
							
								
									62b4af4f19
								
							
						
					
					
						commit
						385832c1fd
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -8,8 +8,8 @@ echo_header() {
 | 
			
		|||
 | 
			
		||||
#------------------------------------------------------------------------------#
 | 
			
		||||
 | 
			
		||||
if [ -d tests ]; then
 | 
			
		||||
    cd tests
 | 
			
		||||
if [ ! -d tests ]; then
 | 
			
		||||
    cd ..
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
set -x # show each command as it is executed
 | 
			
		||||
| 
						 | 
				
			
			@ -17,7 +17,6 @@ set -x # show each command as it is executed
 | 
			
		|||
#------------------------------------------------------------------------------#
 | 
			
		||||
echo_header "run commit hooks"
 | 
			
		||||
 | 
			
		||||
cd $WORKSPACE
 | 
			
		||||
test -x ./hooks/pre-commit && ./hooks/pre-commit
 | 
			
		||||
 | 
			
		||||
#------------------------------------------------------------------------------#
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue