mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Remove _tmp from test/images/image-util.sh
This commit is contained in:
		@@ -127,8 +127,7 @@ build() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # Create a temporary directory for every architecture and copy the image content
 | 
					    # Create a temporary directory for every architecture and copy the image content
 | 
				
			||||||
    # and build the image from temporary directory
 | 
					    # and build the image from temporary directory
 | 
				
			||||||
    mkdir -p "${KUBE_ROOT}"/_tmp
 | 
					    temp_dir="$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")"
 | 
				
			||||||
    temp_dir=$(mktemp -d "${KUBE_ROOT}"/_tmp/test-images-build.XXXXXX)
 | 
					 | 
				
			||||||
    kube::util::trap_add "rm -rf ${temp_dir}" EXIT
 | 
					    kube::util::trap_add "rm -rf ${temp_dir}" EXIT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    cp -r "${img_folder}"/* "${temp_dir}"
 | 
					    cp -r "${img_folder}"/* "${temp_dir}"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user