forked from ungleich-public/cdist
		
	Update shellcheck disable
This commit is contained in:
		
					parent
					
						
							
								46ed48d546
							
						
					
				
			
			
				commit
				
					
						0546283d0e
					
				
			
		
					 3 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -28,6 +28,7 @@
 | 
			
		|||
#  lsb_release may not be given in all installations
 | 
			
		||||
codename_os_release() {
 | 
			
		||||
    # shellcheck disable=SC1090
 | 
			
		||||
    # shellcheck disable=SC1091
 | 
			
		||||
    . "$__global/explorer/os_release"
 | 
			
		||||
    printf "%s" "$VERSION_CODENAME"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,6 +37,7 @@ assert ()                 #  If condition false,
 | 
			
		|||
	then
 | 
			
		||||
		echo "Assertion failed:  \"$1\""
 | 
			
		||||
		# shellcheck disable=SC2039
 | 
			
		||||
		# shellcheck disable=SC3044
 | 
			
		||||
		echo "File \"$0\", line $lineno, called by $(caller 0)"
 | 
			
		||||
		exit $E_ASSERT_FAILED
 | 
			
		||||
	fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
#!/bin/sh -e
 | 
			
		||||
 | 
			
		||||
# shellcheck disable=SC1090
 | 
			
		||||
# shellcheck disable=SC1091
 | 
			
		||||
file="$( . "$__type_explorer/file" )"
 | 
			
		||||
 | 
			
		||||
if [ -f "$file" ]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue