tsocket: fill in sa.sa_len if the system supports it
[Samba/gebeck_regimport.git] / script / commit_mark.sh
blob93a345bc7b90b099b499173651ee7c889f91a24a
1 #!/bin/sh
2 # add a autobuild message to the HEAD commit
4 if grep -q '^Autobuild.User' "$1"; then
5 echo "Already marked as tested"
6 exit 0
7 fi
9 fullname=$(getent passwd $USER | cut -d: -f5| cut -d',' -f1)
10 cat <<EOF >> "$1"
12 Autobuild-User: $fullname <$USER@samba.org>
13 Autobuild-Date: $(date) on $(hostname)
14 EOF
15 exit 0