summaryrefslogtreecommitdiff
path: root/source3/script/build_env.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-19 13:29:33 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-19 13:29:33 +0000
commit14811e7d0ae82b3b8af18838b5be6a61001f8624 (patch)
tree9c5d0631b36c2e87ea3f223f997597c7d4aa4c21 /source3/script/build_env.sh
parente121186392567810021f111816810a9c82c0a787 (diff)
downloadsamba-14811e7d0ae82b3b8af18838b5be6a61001f8624.tar.gz
samba-14811e7d0ae82b3b8af18838b5be6a61001f8624.tar.bz2
samba-14811e7d0ae82b3b8af18838b5be6a61001f8624.zip
Try to fix up the shell syntax
(This used to be commit f57b1085b3a608871f0c1c8fbfe19c121dc8504f)
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`