summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-15 17:27:36 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-15 17:27:36 -0200
commit6397a9be1c703fe032c1cefaeb51ab5659e2178b (patch)
tree0e6b4e21466ae7b7b5a9796493b22920deead0d1
parent3da2c597b446de65cbbb67b27decb8378a9fdcc2 (diff)
downloadhydra-6397a9be1c703fe032c1cefaeb51ab5659e2178b.tar.gz
hydra-6397a9be1c703fe032c1cefaeb51ab5659e2178b.tar.bz2
Using file://// for git clone otherwise --depth might not work
-rwxr-xr-xshare/hydra/bootless2
1 files changed, 1 insertions, 1 deletions
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