summaryrefslogtreecommitdiffstats
path: root/script/commit_mark.sh
blob: 38328c48271aefb799d259b97765109f100d6b46 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# add a autobuild message to the HEAD commit

fullname=$(getent passwd $USER | cut -d: -f5| cut -d',' -f1)
cat <<EOF >> "$1"
Autobuild-User: $fullname <$USER@samba.org>
Autobuild-Date: $(date) on $(hostname)
EOF
exit 0