github.com/noironetworks/cilium-net@v1.6.12/contrib/scripts/fix-sha.sh (about) 1 #!/usr/bin/env bash 2 3 SHA_PATH="daemon/bpf.sha" 4 MAKE=${MAKE:-"make"} 5 if [ ! -e "$SHA_PATH" ]; then 6 echo "Could not locate bpf.sha. Are you in the right directory?" >&2 7 exit 1 8 fi 9 10 echo "GO_BINDATA_SHA1SUM=01234567890abcdef78901234567890abcdef789" > "$SHA_PATH" 11 echo "BPF_FILES=../bpf/.gitignore" >> "$SHA_PATH" 12 ${MAKE} -C daemon apply-bindata