Vous avez re莽u un message "Your GitLab account has been locked ..." ? Pas d'inqui茅tude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 28aa934c authored by Alexis Brenon's avatar Alexis Brenon
Browse files

馃殤 Fix dependencies installation

parent 8eba1bd2
......@@ -37,6 +37,7 @@ command -v curl &> /dev/null || { echo 'ERROR: curl not found. Contact your admi
# Build and install Torch
th_luarocks=false
echo "Intalling Torch"
git config --global url.https://github.com/.insteadOf git://github.com/ # Use https instead of ssh
if [[ ! -x "$(command -v th)" ]]
then
th_git="$(mktemp -d)"
......@@ -97,7 +98,6 @@ fi
# Install some Lua third libs
echo "Intalling Lua third libraries"
set -x
$th_luarocks install lualogging 1> /dev/null
$th_luarocks install hash 1> /dev/null
set +x
echo ""
......@@ -106,5 +106,6 @@ echo ""
# Clean up
[[ "$(find "${PREFIX}" -mindepth 1 -maxdepth 1 | wc -l)" -eq 0 ]] && rmdir "${PREFIX}"
git config --global --unset url.https://github.com/.insteadof
true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment