Use the full name

This commit is contained in:
Andy Bauer 2016-01-19 10:22:51 -06:00
parent a17bde0784
commit 22ef473202
1 changed files with 2 additions and 2 deletions

View File

@ -36,9 +36,9 @@ ln -sf distros/ubuntu1504_cmake debian
fi;
if [ -z `hostname -d` ] ; then
AUTHOR="`whoami` <`whoami`@`hostname`.local>"
AUTHOR="`getent passwd $USER | cut -d ':' -f 5 | cut -d ',' -f 1` <`whoami`@`hostname`.local>"
else
AUTHOR="`whoami` <`whoami`@`hostname`>"
AUTHOR="`getent passwd $USER | cut -d ':' -f 5 | cut -d ',' -f 1` <`whoami`@`hostname`>"
fi
cat <<EOF > debian/changelog