summaryrefslogtreecommitdiff
path: root/script/commit_mark.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-25 15:53:32 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-26 01:21:49 +0000
commit5d5ae099d16d1902e4a85adec5b1e6a9085b6118 (patch)
tree83492e45dc8e185dde9afa951650d859dfe6cb5b /script/commit_mark.sh
parent91b62a274411477f67f50f0f653dd17bf1e65c1d (diff)
downloadsamba-5d5ae099d16d1902e4a85adec5b1e6a9085b6118.tar.gz
samba-5d5ae099d16d1902e4a85adec5b1e6a9085b6118.tar.bz2
samba-5d5ae099d16d1902e4a85adec5b1e6a9085b6118.zip
autobuild: added --rebase-master and --push-master
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'script/commit_mark.sh')
-rwxr-xr-xscript/commit_mark.sh5
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>