about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xbuildtools/stamp-date2
-rw-r--r--doc/HISTORY3
2 files changed, 4 insertions, 1 deletions
diff --git a/buildtools/stamp-date b/buildtools/stamp-date
index 808bab79..5fb6c13a 100755
--- a/buildtools/stamp-date
+++ b/buildtools/stamp-date
@@ -12,7 +12,7 @@
 DATE=`date`
 LOGNAME_OR_UNKNOWN=${LOGNAME:-UNKNOWN}
 USER=${USER:-$LOGNAME_OR_UNKNOWN}
-if [ $USER = "UNKNOWN" ]; then
+if [ "$USER" = "UNKNOWN" ]; then
     USER=`whoami`
 fi
 
diff --git a/doc/HISTORY b/doc/HISTORY
index 36eeeac8..2402c447 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,6 +6,9 @@ CHANGE HISTORY
 
 not yet  BJH  Release 10.73.00
 
+              Build: fix superfluous error message when USER environment
+              variable contains whitespace.
+
 15.09.26 BJH  Release 10.72.00
 
               Add pamunlookup .