diff options
author | peter <peter@FreeBSD.org> | 1997-05-17 13:21:44 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-17 13:21:44 +0800 |
commit | 64fbaa8e0f9a02b0a7511d96842d0f2e06f69199 (patch) | |
tree | 2a7824063d21f836bd471e55656fef097e7e604e /CVSROOT | |
parent | 69ea02fbd68193dd032dfe837f3bbb37f95ca1ea (diff) | |
download | freebsd-ports-gnome-64fbaa8e0f9a02b0a7511d96842d0f2e06f69199.tar.gz freebsd-ports-gnome-64fbaa8e0f9a02b0a7511d96842d0f2e06f69199.tar.zst freebsd-ports-gnome-64fbaa8e0f9a02b0a7511d96842d0f2e06f69199.zip |
Set umask so newly created commitlogs dont get bad modes
Reviewed by:
Submitted by:
Obtained from:
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/log_accum.pl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl index e93c7279e69a..a07a535a84ca 100755 --- a/CVSROOT/log_accum.pl +++ b/CVSROOT/log_accum.pl @@ -1,6 +1,6 @@ #!/usr/local/bin/perl # -# $Id: log_accum.pl,v 1.22 1997/05/15 19:53:32 peter Exp $ +# $Id: log_accum.pl,v 1.23 1997/05/15 23:45:01 peter Exp $ # # Perl filter to handle the log messages from the checkin of files in # a directory. This script will group the lists of files by log @@ -389,6 +389,11 @@ sub mail_notification { ############################################################ # +# Setup environment +# +umask (002); + +# # Initialize basic variables # $id = getpgrp(); @@ -431,6 +436,7 @@ if ($ARGV[0] =~ /New directory/) { exit 0; } +# # Check for an import command. This will always appear as a # single item in the argument list, and a log message. # @@ -614,6 +620,7 @@ for ($i = 0; ; $i++) { # Put the log message at the beginning of the Changes file # &do_changes_file(@text); + # # Now generate the extra info for the mail message.. # @@ -632,6 +639,7 @@ if ($rcsidinfo == 1) { push(@text, ""); # consistancy... } } + # # Mail out the notification. # |