--tmpdir -> TMPDIR env var
This commit is contained in:
		
					parent
					
						
							
								3759a37fbd
							
						
					
				
			
			
				commit
				
					
						6d0e1a2e73
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -61,7 +61,7 @@ fetch_file() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
fetch_and_prepare_file() {
 | 
			
		||||
   printf 'tmpdir="$(mktemp -d --tmpdir="/tmp" "%s")"\n' "${__type##*/}.XXXXXXXXXX"
 | 
			
		||||
   printf 'tmpdir="$(TMPDIR="/tmp" mktemp -d "%s")"\n' "${__type##*/}.XXXXXXXXXX"
 | 
			
		||||
   printf 'cd "$tmpdir"\n'
 | 
			
		||||
   printf "$fetch_command > \"%s\"\n" "$source" "$source_file_name"
 | 
			
		||||
   prepare_command="$(cat "$__object/parameter/prepare-command")"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue