diff options
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/script/build_env.sh | 4 |
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` |