summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2016-01-06 15:47:31 +0100
committerAlexander Barton <alex@barton.de>2016-01-06 15:47:31 +0100
commit4dcd5f1225eb733895fd9dc923a064d2c8d96bb4 (patch)
treeedf20970fce2ed3ecedbc7b559b62e1371fe3719 /contrib
parent6a5569c27d47674b2e7483ddf6f1fafd8fe65a2e (diff)
downloadngircd-4dcd5f1225eb733895fd9dc923a064d2c8d96bb4.tar.gz
ngircd-4dcd5f1225eb733895fd9dc923a064d2c8d96bb4.zip
platformtest.sh: Use $LOGNAME instead of $USER
LOGNAME is more standard than USER.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/platformtest.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh
index 3b022283..8a861716 100755
--- a/contrib/platformtest.sh
+++ b/contrib/platformtest.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # ngIRCd -- The Next Generation IRC Daemon
-# Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors
+# Copyright (c)2001-2016 Alexander Barton (alex@barton.de) and Contributors
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -203,10 +203,10 @@ echo "--------------------------- ------------ ---------- -------- -------- - -
 command -v printf >/dev/null 2>&1
 if [ $? -eq 0 ]; then
 	printf "%-27s %-12s %-10s %s %-8s %s %s %s %s%s\n" \
-	 "$PLATFORM" "$COMPILER" "$VERSION" "$DATE" "$USER" \
+	 "$PLATFORM" "$COMPILER" "$VERSION" "$DATE" "$LOGNAME" \
 	 "$C" "$M" "$T" "$R" "$COMMENT"
 else
-	echo "$PLATFORM $COMPILER $VERSION $DATE $USER" \
+	echo "$PLATFORM $COMPILER $VERSION $DATE $LOGNAME" \
 	 "$C" "$M" "$T" "$R" "$COMMENT"
 fi
 echo