mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Quote variables and backticks
Otherwise the script fails with spaces or asterisks in the directory path.
This commit is contained in:
		
							parent
							
								
									9f64fd6745
								
							
						
					
					
						commit
						42debcfe3c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
BASE_DIR=$(dirname `readlink -f $0`)
 | 
			
		||||
BASE_DIR=$(dirname "`readlink -f "$0"`")
 | 
			
		||||
PYTHONPATH=$BASE_DIR
 | 
			
		||||
SEARX_DIR="$BASE_DIR/searx"
 | 
			
		||||
ACTION=$1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue