diff --git a/client/sources-linux/build.sh b/client/sources-linux/build.sh index fb68abc5..065a924f 100755 --- a/client/sources-linux/build.sh +++ b/client/sources-linux/build.sh @@ -1,5 +1,7 @@ #!/bin/sh -UID=`id -u` +if [ -z "$UID" ]; then + UID=`id -u` +fi if [ ! $UID -eq 0 ]; then echo "[!] You need to be root to run this script"