From 7015684ab78f04f4749870f1e12f103a1ee6c1c8 Mon Sep 17 00:00:00 2001 From: dubslow Date: Sat, 1 Nov 2014 01:47:12 -0500 Subject: [PATCH] fix sodium cloning --- bootstrap.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index a63b611e1..3188d9ecc 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -103,9 +103,8 @@ rm -rf ${BASE_DIR}/${TOX_CORE_DIR} # afterwards install libsodium to INSTALL_DIR # skip the installation if TOX_ONLY is true if [[ $TOX_ONLY = "false" ]]; then - git clone git://github.com/jedisct1/libsodium.git ${BASE_DIR}/${SODIUM_DIR} --depth 1 + git clone --branch $SODIUM_VER git://github.com/jedisct1/libsodium.git ${BASE_DIR}/${SODIUM_DIR} --depth 1 pushd ${BASE_DIR}/${SODIUM_DIR} - git checkout tags/$SODIUM_VER ./autogen.sh if [[ $GLOBAL = "false" ]]; then