use local user @ hostname.local for author

This commit is contained in:
Andy Bauer committed 2016-01-19 08:05:40 -06:00
1 parent 25eba33adb
commit e2b00bbe1f
1 file changed
+7 -1
+7 -1
View File
@@ -35,12 +35,18 @@ else
ln -sf distros/ubuntu1504_cmake debian
fi;
if [ $TYPE == "local" ] ; then
AUTHOR="`whoami` <`whoami`@`hostname`.local>"
else
AUTHOR="Isaac Connor <iconnor@connortechnology.com>"
fi
cat <<EOF > debian/changelog
zoneminder ($VERSION-$DISTRO-$SNAPSHOT) $DISTRO; urgency=medium
*
-- Isaac Connor <iconnor@connortechnology.com> $DATE
-- $AUTHOR $DATE
EOF
#rm -rf .git