diff options
Diffstat (limited to 'script/commit_mark.sh')
-rwxr-xr-x | script/commit_mark.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/script/commit_mark.sh b/script/commit_mark.sh new file mode 100755 index 0000000000..38328c4827 --- /dev/null +++ b/script/commit_mark.sh @@ -0,0 +1,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 |