diff options
Diffstat (limited to 'script/commit_mark.sh')
-rwxr-xr-x | script/commit_mark.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/commit_mark.sh b/script/commit_mark.sh index 38328c4827..bb1e9428a0 100755 --- a/script/commit_mark.sh +++ b/script/commit_mark.sh @@ -1,6 +1,11 @@ #!/bin/sh # add a autobuild message to the HEAD commit +if grep -q '^Autobuild.User' "$1"; then + echo "Already marked as tested" + exit 0 +fi + fullname=$(getent passwd $USER | cut -d: -f5| cut -d',' -f1) cat <<EOF >> "$1" Autobuild-User: $fullname <$USER@samba.org> |