Browse Source

Run 'fetch-core-bpf.sh' from any directory (#5518)

Faycel Kouteib 8 months ago
parent
commit
ef4f90f9e1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      fetch-core-bpf.sh

+ 3 - 1
fetch-core-bpf.sh

@@ -6,7 +6,9 @@
 
 set -e
 
-source fetch-programs.sh
+here=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
+
+source "$here"/fetch-programs.sh
 
 PREFIX="core-bpf"