Add PROGDIR to PATH to run other scripts
This commit is contained in:
		
							parent
							
								
									c530cc0ba2
								
							
						
					
					
						commit
						fc1eb8bf8b
					
				| 
						 | 
				
			
			@ -19,6 +19,10 @@ readonly NBARGS="${#}"
 | 
			
		|||
## Export DEBUG for sub-script
 | 
			
		||||
export DEBUG
 | 
			
		||||
 | 
			
		||||
## Ensure current directory is in the path
 | 
			
		||||
#  to be able to call sub-scripts
 | 
			
		||||
PATH="${PATH}:${PROGDIR}"
 | 
			
		||||
 | 
			
		||||
## Default values for some vars
 | 
			
		||||
readonly MPV_PROC_REGEXP="mpv.*--input-ipc-server"
 | 
			
		||||
readonly KODI_PROC_REGEXP="kodi.bin"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue