mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Merge pull request #1355 from asciimoo/manage.sh
manage.sh : minor change
This commit is contained in:
		
						commit
						1767970ef9
					
				
					 1 changed files with 5 additions and 3 deletions
				
			
		| 
						 | 
					@ -1,15 +1,17 @@
 | 
				
			||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BASE_DIR="$(dirname -- "`readlink -f -- "$0"`")"
 | 
					BASE_DIR="$(dirname -- "`readlink -f -- "$0"`")"
 | 
				
			||||||
export PATH="$BASE_DIR/node_modules/.bin":$PATH
 | 
					
 | 
				
			||||||
 | 
					cd -- "$BASE_DIR"
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export PATH="$(npm bin)":$PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# subshell
 | 
					# subshell
 | 
				
			||||||
PYTHONPATH="$BASE_DIR"
 | 
					PYTHONPATH="$BASE_DIR"
 | 
				
			||||||
SEARX_DIR="$BASE_DIR/searx"
 | 
					SEARX_DIR="$BASE_DIR/searx"
 | 
				
			||||||
ACTION="$1"
 | 
					ACTION="$1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cd -- "$BASE_DIR"
 | 
					 | 
				
			||||||
set -e
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Python
 | 
					# Python
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue