diff options
author | peter <peter@FreeBSD.org> | 1999-08-15 03:44:30 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-08-15 03:44:30 +0800 |
commit | 775ab08d2173d1be2a8c3f35c4939334edbe4c8b (patch) | |
tree | 7d75b03ca840867a0e2895c7ad29a63b8b0327d6 /CVSROOT | |
parent | 7fdfe9e8ac8586cf355fe7fd586e70150e52e973 (diff) | |
download | freebsd-ports-gnome-775ab08d2173d1be2a8c3f35c4939334edbe4c8b.tar.gz freebsd-ports-gnome-775ab08d2173d1be2a8c3f35c4939334edbe4c8b.tar.zst freebsd-ports-gnome-775ab08d2173d1be2a8c3f35c4939334edbe4c8b.zip |
Generate a mail on a blocked tag attempt as an alert that somebody
might need help or the script is broken.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/tagcheck | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CVSROOT/tagcheck b/CVSROOT/tagcheck index 4bf3788ce595..8ce267500a82 100755 --- a/CVSROOT/tagcheck +++ b/CVSROOT/tagcheck @@ -6,7 +6,7 @@ # $1 $2 $3 $4 ... case "$1" in - RELENG_*) + RELENG*) ;; *) exit 0 # not reserved, ok. @@ -18,8 +18,9 @@ case "$USER" in exit 0 # ok ;; *) - echo "RELENG_* tag operations are reserved for release engineering!" 1>&2 + echo "RELENG* tag operations are reserved for release engineering!" 1>&2 echo "Use 'cvs add' or 'cvs rm' to add/remove files from branches!" 1>&2 - exit 1 # shove off! + echo "$*" | /usr/bin/mail -s "NCVS TAG" cvs + exit 1 ;; esac |