Exit after building in debian-here.sh
This commit is contained in:
		@@ -12,10 +12,11 @@ script_dir="$(dirname "$(readlink -f "$0")")"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
run() {
 | 
					run() {
 | 
				
			||||||
    if [[ ! -z ${BUILD:-} ]];then
 | 
					    if [[ ! -z "${BUILD:-}" ]];then
 | 
				
			||||||
        pushd "$script_dir"
 | 
					        pushd "$script_dir"
 | 
				
			||||||
        docker build -t debian-here .
 | 
					        docker build -t debian-here .
 | 
				
			||||||
        popd
 | 
					        popd
 | 
				
			||||||
 | 
					        exit
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    mount_point="/mnt/$(basename "$here")"
 | 
					    mount_point="/mnt/$(basename "$here")"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user