diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-09-19 13:29:33 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-09-19 13:29:33 +0000 |
commit | 14811e7d0ae82b3b8af18838b5be6a61001f8624 (patch) | |
tree | 9c5d0631b36c2e87ea3f223f997597c7d4aa4c21 | |
parent | e121186392567810021f111816810a9c82c0a787 (diff) | |
download | samba-14811e7d0ae82b3b8af18838b5be6a61001f8624.tar.gz samba-14811e7d0ae82b3b8af18838b5be6a61001f8624.tar.bz2 samba-14811e7d0ae82b3b8af18838b5be6a61001f8624.zip |
Try to fix up the shell syntax
(This used to be commit f57b1085b3a608871f0c1c8fbfe19c121dc8504f)
-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` |