Update core.func
This commit is contained in:
		
							parent
							
								
									7606a2e266
								
							
						
					
					
						commit
						83e8ec9d22
					
				| @ -98,13 +98,19 @@ else | ||||
| fi | ||||
| 
 | ||||
| set_std_mode() { | ||||
|   if [ "$VERBOSE" = "yes" ]; then | ||||
|   if [ "${VERBOSE:-no}" = "yes" ]; then | ||||
|     STD="" | ||||
|   else | ||||
|     STD="silent" | ||||
|   fi | ||||
| } | ||||
| 
 | ||||
| if [ -z "${VERBOSE+x}" ]; then | ||||
|   echo "DEBUG: VERBOSE is unset" | ||||
| else | ||||
|   echo "DEBUG: VERBOSE (pre): '$VERBOSE'" | ||||
| fi | ||||
| 
 | ||||
| # Silent execution function | ||||
| silent() { | ||||
|   "$@" >/dev/null 2>&1 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 CanbiZ
						CanbiZ