Commit 0ffa7c82 authored by locallycompact's avatar locallycompact

Merge branch 'jjardon/remove_bashism' into 'master'

install_dependencies.sh: Use a more portable expression

"$EUID" is a bashism and some runners use dash instead

See merge request !256
parents e74d9385 c7c0d24a
Pipeline #4694475 passed with stages
in 7 minutes and 20 seconds
......@@ -23,7 +23,7 @@
set -x
SUDO=""
if [ "$EUID" -ne 0 ]
if [ "$(id -u)" -ne 0 ];
then SUDO="sudo"
fi
......
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