mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-06 21:36:30 +00:00
Update build-restic.sh
Signed-off-by: DingRui Yang <abserari@gmail.com>
This commit is contained in:
@@ -50,10 +50,6 @@ fi
|
||||
mkdir ${build_path}/restic
|
||||
git clone -b v${RESTIC_VERSION} https://github.com/restic/restic.git ${build_path}/restic
|
||||
pushd ${build_path}/restic
|
||||
if [ -z "${GOARM}" ]; then
|
||||
go run build.go --goos "${GOOS}" --goarch "${GOARCH}" -o ${restic_bin}
|
||||
else
|
||||
go run build.go --goos "${GOOS}" --goarch "${GOARCH}" --goarm "${GOARM}" -o ${restic_bin}
|
||||
fi
|
||||
go run build.go --goos "${GOOS}" --goarch "${GOARCH}" --goarm "${GOARM}" -o ${restic_bin}
|
||||
chmod +x ${restic_bin}
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user