diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-10-13 01:45:57 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-10-13 01:45:57 +0000 |
commit | 8e190b5227da0a69a37b11cc6df34cb06d5bee12 (patch) | |
tree | 9a03370c5067d8f3d06444d0f80bcfbf4c1b682a | |
parent | 4844619aeabddf99cf5c30879478ef31baae0446 (diff) | |
download | netpbm-mirror-8e190b5227da0a69a37b11cc6df34cb06d5bee12.tar.gz netpbm-mirror-8e190b5227da0a69a37b11cc6df34cb06d5bee12.tar.xz netpbm-mirror-8e190b5227da0a69a37b11cc6df34cb06d5bee12.zip |
Fix superfluous error message from stamp-date when USER environment variable contains whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2644 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rwxr-xr-x | buildtools/stamp-date | 2 | ||||
-rw-r--r-- | doc/HISTORY | 3 |
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 . |