Commit 93aba0b4 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

gMerge branch 'develop' of https://gitlab.eurecom.fr/oai/oai-cn5g-smf into develop

parents 07cf9fda 733df093
......@@ -39,7 +39,14 @@ case "$OS_DISTRO" in
ubuntu) OS_BASEDISTRO="debian"; INSTALLER="apt-get"; CMAKE="cmake" ;;
esac
SUDO='sudo -S -E'
IS_CONTAINER=`egrep -c "docker|kubepods" /proc/self/cgroup`
if [ $IS_CONTAINER -eq 0 ]
then
SUDO='sudo -S -E'
else
SUDO=''
fi
###############################
## echo and family
......
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