jjb: Clone linux kernel with `--reference-if-able`
[lttng-ci.git] / scripts / lttng-modules / param-build.sh
index 5ee567175d130117c232638bf83abb52ee5b1d2d..42d076739ed5e411b9b5e91e36b486f4c1313513 100644 (file)
@@ -96,7 +96,7 @@ git_clone_modules_sources() {
 # Checkout a shallow kernel tree of the specified tag
 git_clone_linux_sources() {
     mkdir -p "$LINUX_GIT_DIR"
-    git clone --depth=1 -b "${ktag}" --reference "$LINUX_GIT_REF_REPO_DIR" "${kgitrepo}" "$LINUX_GIT_DIR"
+    git clone --depth=1 -b "${ktag}" --reference-if-able "$LINUX_GIT_REF_REPO_DIR" "${kgitrepo}" "$LINUX_GIT_DIR"
 }
 
 
This page took 0.024172 seconds and 4 git commands to generate.