mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:32:45 +00:00 
			
		
		
		
	Meta: lint-shell-scripts: Exit if shellcheck is not installed
This commit is contained in:
		
							parent
							
								
									7c5e488de2
								
							
						
					
					
						commit
						c1bfb8cb0e
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -4,6 +4,11 @@ set -e pipefail | |||
| script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) | ||||
| cd "$script_path/.." | ||||
| 
 | ||||
| if ! command -v shellcheck &>/dev/null ; then | ||||
|     echo "shellcheck is not available. Either skip this script, or install shellcheck." | ||||
|     exit 1 | ||||
| fi | ||||
| 
 | ||||
| ERRORS=() | ||||
| 
 | ||||
| while IFS= read -r f; do | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brendan Coles
						Brendan Coles