Commit dec41b55 authored by Martin Pool's avatar Martin Pool

Cope on systems without the whoami command.

parent be2961da
...@@ -139,12 +139,7 @@ echo "$0 running in `pwd`" ...@@ -139,12 +139,7 @@ echo "$0 running in `pwd`"
echo " rsync_bin=$rsync_bin" echo " rsync_bin=$rsync_bin"
echo " srcdir=$srcdir" echo " srcdir=$srcdir"
if testuser=`whoami` testuser=`whoami || echo UNKNOWN`
then
:
else
testuser='(unknown)'
fi
echo " testuser=$testuser" echo " testuser=$testuser"
echo " os=`uname -a`" echo " os=`uname -a`"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment