1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

Try to fix up the shell syntax

This commit is contained in:
Andrew Bartlett -
parent 26e523bf6e
commit f57b1085b3

View File

@ -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`