tsocket: make sure we delete the fd event before calling close()
[Samba/gebeck_regimport.git] / script / commit_mark.sh
blobbb1e9428a04c56f5644d75d2300426c6a4db5bea
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"
11 Autobuild-User: $fullname <$USER@samba.org>
12 Autobuild-Date: $(date) on $(hostname)
13 EOF
14 exit 0