diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-03-21 14:45:30 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-03-21 14:45:30 +0000 |
commit | 67cf5a2b2e7a2f3a190bf33499a2bf7ce19f765e (patch) | |
tree | 008724a2b3b1d958552dbe05dc76dde10016bc54 /app-admin/gentoolkit/files | |
parent | 1.5.1 declared stable (diff) | |
download | historical-67cf5a2b2e7a2f3a190bf33499a2bf7ce19f765e.tar.gz historical-67cf5a2b2e7a2f3a190bf33499a2bf7ce19f765e.tar.bz2 historical-67cf5a2b2e7a2f3a190bf33499a2bf7ce19f765e.zip |
echangelog update
Diffstat (limited to 'app-admin/gentoolkit/files')
-rw-r--r-- | app-admin/gentoolkit/files/scripts/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/gentoolkit/files/scripts/echangelog | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app-admin/gentoolkit/files/scripts/ChangeLog b/app-admin/gentoolkit/files/scripts/ChangeLog index f09d7a2dcb1c..22987f7222d1 100644 --- a/app-admin/gentoolkit/files/scripts/ChangeLog +++ b/app-admin/gentoolkit/files/scripts/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/gentoolkit/lintool/scripts # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/scripts/ChangeLog,v 1.10 2003/03/12 16:52:20 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/scripts/ChangeLog,v 1.11 2003/03/21 14:45:30 agriffis Exp $ + +21 Mar 2003 Aron Griffis <agriffis@gentoo.org> + * disallow "root" as a valid user for creating ChangeLog entries 12 Mar 2003 Aron Griffis <agriffis@gentoo.org> * update echangelog to work better with new cvs output, which says diff --git a/app-admin/gentoolkit/files/scripts/echangelog b/app-admin/gentoolkit/files/scripts/echangelog index 492b6fee44e7..602c300ecb24 100644 --- a/app-admin/gentoolkit/files/scripts/echangelog +++ b/app-admin/gentoolkit/files/scripts/echangelog @@ -97,6 +97,8 @@ $input =~ s/^/ /gm; # add indentation # Prepend the user info to the input $user = $ENV{'ECHANGELOG_USER'} || sprintf("%s <%s\@gentoo.org>", (getpwuid($<))[6,0]); +# Make sure that we didn't get "root" +die "Please set ECHANGELOG_USER or run as non-root\n" if $user =~ / root@/; $date = strftime("%d %b %Y", localtime); $entry = "$date; $user "; $entry .= join ', ', grep !/files.digest/, @files; # don't list digests |