mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	Remove old binary before copying new one to GOPATH/bin (#13966)
This commit is contained in:
		| @@ -70,6 +70,7 @@ IFS=$OLDIFS | ||||
| DEV_PLATFORM=${DEV_PLATFORM:-"./pkg/$(${GO_CMD} env GOOS)_$(${GO_CMD} env GOARCH)"} | ||||
| for F in $(find ${DEV_PLATFORM} -mindepth 1 -maxdepth 1 -type f); do | ||||
|     cp ${F} bin/ | ||||
|     rm -f ${MAIN_GOPATH}/bin/vault | ||||
|     cp ${F} ${MAIN_GOPATH}/bin/ | ||||
| done | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Robert
					Robert