Make smtp_receive_timeout main option expanded. Bug 564
[users/jgh/exim.git] / test / aux-fixed / showenv
index fc377cc8b9af77d13b5e8c5714d825f2cd7bc238..2d46eefb77a83fe607beea9694bd9073ceca61af 100755 (executable)
@@ -3,7 +3,9 @@
 # This script outputs certain information about the environment, for use when
 # testing pipe transports.
 
-name=`id -un`
+cmd=/usr/xpg4/bin/id
+[ -x $cmd ] || cmd=id
+name=`$cmd -un`
 
 echo Test pipe script
 echo Running as: $name