From 43a92b4bdf2fb90f1de4c4439440fb922bbfce53 Mon Sep 17 00:00:00 2001 From: Leonardo Di Donato Date: Fri, 24 Apr 2020 10:49:16 +0000 Subject: [PATCH] fix(scripts): correct "drivers build gruid" URLs Co-authored-by: Lorenzo Fontana Signed-off-by: Leonardo Di Donato --- scripts/falco-driver-loader | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/falco-driver-loader b/scripts/falco-driver-loader index 051c7012378..c7813b5dea8 100755 --- a/scripts/falco-driver-loader +++ b/scripts/falco-driver-loader @@ -224,7 +224,7 @@ load_kernel_module() { fi local URL - URL=$(echo "${DRIVERS_REPO}/kernel-module/${DRIVER_VERSION}/${FALCO_KERNEL_MODULE_FILENAME}" | sed s/+/%2B/g) + URL=$(echo "${DRIVERS_REPO}/${DRIVER_VERSION}/${FALCO_KERNEL_MODULE_FILENAME}" | sed s/+/%2B/g) echo "* Trying to download prebuilt module from ${URL}" if curl --create-dirs "${FALCO_DRIVER_CURL_OPTIONS}" -o "${HOME}/.falco/${FALCO_KERNEL_MODULE_FILENAME}" "${URL}"; then @@ -376,7 +376,7 @@ load_bpf_probe() { if [ ! -f "${HOME}/.falco/${BPF_PROBE_FILENAME}" ]; then local URL - URL=$(echo "${DRIVERS_REPO}/ebpf-probe/${DRIVER_VERSION}/${BPF_PROBE_FILENAME}" | sed s/+/%2B/g) + URL=$(echo "${DRIVERS_REPO}/${DRIVER_VERSION}/${BPF_PROBE_FILENAME}" | sed s/+/%2B/g) echo "* Trying to download a prebuilt eBPF probe from ${URL}"