diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2006-05-22 05:12:18 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2006-05-22 05:12:18 +0000 |
commit | aa0f5b38aec14428b4b80e06f90ff781f8bca5f1 (patch) | |
tree | 95f3d0c8cb0d59d88900dbbd72110d7ab6e15b2a /packaging/utils/tattle | |
parent | 7c383bc22113b23718be89fe18eeb251942d7356 (diff) | |
download | vyos-strongswan-aa0f5b38aec14428b4b80e06f90ff781f8bca5f1.tar.gz vyos-strongswan-aa0f5b38aec14428b4b80e06f90ff781f8bca5f1.zip |
Import initial strongswan 2.7.0 version into SVN.
Diffstat (limited to 'packaging/utils/tattle')
-rwxr-xr-x | packaging/utils/tattle | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packaging/utils/tattle b/packaging/utils/tattle new file mode 100755 index 000000000..37d015b0f --- /dev/null +++ b/packaging/utils/tattle @@ -0,0 +1,33 @@ +#! /bin/sh +# tattle [-f] subject address ... +# report a freeswan CVS change made by someone other than "owner" of files + +PATH=/bin:/usr/bin ; export PATH + +noself=yes # don't mail to person making change +case "$1" in +-f) noself= ; shift ;; +esac + +msg="freeswan commit: $1" +shift + +them= +if test "$noself" +then + iam="`id -un`" + for who + do + if test " $who" != " $iam" + then + them="$them $who" + fi + done +else + them="$*" +fi + +if test " $them" != " " +then + mail -s "$msg" $them +fi |