diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-15 17:27:36 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-15 17:27:36 -0200 |
commit | 6397a9be1c703fe032c1cefaeb51ab5659e2178b (patch) | |
tree | 0e6b4e21466ae7b7b5a9796493b22920deead0d1 /share | |
parent | 3da2c597b446de65cbbb67b27decb8378a9fdcc2 (diff) | |
download | hydra-6397a9be1c703fe032c1cefaeb51ab5659e2178b.tar.gz hydra-6397a9be1c703fe032c1cefaeb51ab5659e2178b.tar.bz2 |
Using file://// for git clone otherwise --depth might not work
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/bootless | 2 |
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 |