From 393ba2214d0c4c31de44a1278ff3106ee7d97522 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 4 Jan 2004 07:07:08 +0000 Subject: [PATCH] Try using "id -un" before "whoami" since the latter doesn't exist on SunOS systems (and I hope the former works -- we'll see). --- runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index bb0b34a6..68d7313b 100755 --- a/runtests.sh +++ b/runtests.sh @@ -142,7 +142,7 @@ echo "$0 running in `pwd`" echo " rsync_bin=$rsync_bin" echo " srcdir=$srcdir" -testuser=`whoami || echo UNKNOWN` +testuser=`id -un || whoami || echo UNKNOWN` echo " testuser=$testuser" echo " os=`uname -a`" -- 2.34.1