Merge branch 'bugfix/hanging-sudo' into 'dev'

Fix "hanging sudo" bug.

See merge request ligolang/ligo!400
This commit is contained in:
Suzanne Dupéron 2020-02-10 20:43:56 +00:00
commit b2c129aa6a

2
scripts/installer.sh Executable file → Normal file
View File

@ -62,7 +62,7 @@ else
# && redirect the output of the wget download to the temporary file # && redirect the output of the wget download to the temporary file
# ) || clean up temporary file if any command in the previous block failed # ) || clean up temporary file if any command in the previous block failed
wget "$url" -O - \ (wget "$url" -O - 2>/dev/null || echo "ERROR: wget $url failed.") \
| sed -e "s/next/$version/g" \ | sed -e "s/next/$version/g" \
| sudo sh -c ' \ | sudo sh -c ' \
( \ ( \