From 5d5ae099d16d1902e4a85adec5b1e6a9085b6118 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 25 Sep 2010 15:53:32 -0700 Subject: autobuild: added --rebase-master and --push-master Pair-Programmed-With: Stefan Metzmacher --- script/commit_mark.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'script/commit_mark.sh') 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 <> "$1" Autobuild-User: $fullname <$USER@samba.org> -- cgit