Merge branch 'bugfix/hanging-sudo' into 'dev'
Fix "hanging sudo" bug. See merge request ligolang/ligo!400
This commit is contained in:
commit
b2c129aa6a
2
scripts/installer.sh
Executable file → Normal file
2
scripts/installer.sh
Executable file → Normal file
@ -62,7 +62,7 @@ else
|
||||
# && redirect the output of the wget download to the temporary file
|
||||
# ) || 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" \
|
||||
| sudo sh -c ' \
|
||||
( \
|
||||
|
Loading…
Reference in New Issue
Block a user