summaryrefslogtreecommitdiff
path: root/source3/script/build_env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script/build_env.sh')
-rwxr-xr-xsource3/script/build_env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/build_env.sh b/source3/script/build_env.sh
index b71d12b20a..0000759f16 100755
--- a/source3/script/build_env.sh
+++ b/source3/script/build_env.sh
@@ -6,10 +6,10 @@ srcdir=$1
builddir=$2
compiler=$3
- if [ ! $USER = "" ]; then
+ if [ ! "x$USER" = "x" ]; then
whoami=$USER
else
- if [ ! $LOGNAME = "" ]; then
+ if [ ! "x$LOGNAME" = "x" ]; then
whoami=$LOGNAME
else
whoami=`whoami || id -un`