From 6397a9be1c703fe032c1cefaeb51ab5659e2178b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 15 Feb 2013 17:27:36 -0200 Subject: Using file://// for git clone otherwise --depth might not work --- share/hydra/bootless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/hydra/bootless b/share/hydra/bootless index 65ff1e7..75d4a66 100755 --- a/share/hydra/bootless +++ b/share/hydra/bootless @@ -109,7 +109,7 @@ EOF if [ "$rsync" == "true" ]; then $sudo rsync -Cav ${BOOTLESS_DIR}/ ${tmpdir}/boot/ else - $sudo git clone --depth=1 ${BOOTLESS_DIR} ${tmpdir}/boot + $sudo git clone --depth=1 file:///${BOOTLESS_DIR} ${tmpdir}/boot if [ $? != 0 ]; then echo "Error: failed to clone repository \"${BOOTLESS_DIR}\" in \"${tmpdir}\" (errno: $?)." exit 1 -- cgit v1.2.3