svn commit: samba r8539 - in branches/SAMBA_4_0/source/script/tests: .

tridge at samba.org tridge at samba.org
Mon Jul 18 08:30:32 GMT 2005


Author: tridge
Date: 2005-07-18 08:30:32 +0000 (Mon, 18 Jul 2005)
New Revision: 8539

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8539

Log:
$LOGNAME is a common varient of $USER on some systems

Modified:
   branches/SAMBA_4_0/source/script/tests/selftest.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/selftest.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/selftest.sh	2005-07-18 08:25:21 UTC (rev 8538)
+++ branches/SAMBA_4_0/source/script/tests/selftest.sh	2005-07-18 08:30:32 UTC (rev 8539)
@@ -6,6 +6,9 @@
 SRCDIR=`pwd`
 ROOT=$USER
 if test -z "$ROOT"; then
+    ROOT=$LOGNAME
+fi
+if test -z "$ROOT"; then
     ROOT=`whoami`
 fi
 



More information about the samba-cvs mailing list