mirror of
https://github.com/netdata/libbpf.git
synced 2026-11-05 17:30:15 +08:00
vmtests: fix selftests checkout script
Fix the script. Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
1 parent
93959e4e43
commit
e8547bd4f7
1 file changed
+2
-2
@@ -22,8 +22,8 @@ if [ ! -d "${REPO_PATH}" ]; then
|
||||
mv bpf-next-${LINUX_SHA} $(basename ${REPO_PATH})
|
||||
else
|
||||
# but fallback to git fetch approach if that fails
|
||||
mkdir -p ${REPO_PATH}
|
||||
cd ${REPO_PATH}
|
||||
mkdir -p $(basename ${REPO_PATH})
|
||||
cd $(basename ${REPO_PATH})
|
||||
git init
|
||||
git remote add bpf-next ${BPF_NEXT_ORIGIN}
|
||||
# try shallow clone first
|
||||
|
||||
Reference in new issue
Block a user