diff options
Diffstat (limited to 'parallel/glunix/patches/patch-bg')
-rw-r--r-- | parallel/glunix/patches/patch-bg | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/parallel/glunix/patches/patch-bg b/parallel/glunix/patches/patch-bg index edab732da63..69412d1e4f8 100644 --- a/parallel/glunix/patches/patch-bg +++ b/parallel/glunix/patches/patch-bg @@ -1,7 +1,7 @@ -$NetBSD: patch-bg,v 1.2 2000/06/16 23:40:18 wiz Exp $ +$NetBSD: patch-bg,v 1.3 2000/07/10 23:54:23 wiz Exp $ --- progs/glupart/glupart_script.pl.orig Wed Nov 5 17:30:11 1997 -+++ progs/glupart/glupart_script.pl Tue Jun 13 13:13:12 2000 ++++ progs/glupart/glupart_script.pl Thu Jun 29 15:48:34 2000 @@ -75,3 +75,3 @@ my $gl_tmpFile = "$gl_dataDir/.__glupart$$-tmp"; -my $gl_emailAdmin = "glunix-admin\@now.CS.Berkeley.EDU"; @@ -27,8 +27,24 @@ $NetBSD: patch-bg,v 1.2 2000/06/16 23:40:18 wiz Exp $ print "Created file $f\n"; + system("/usr/sbin/chown glunix:glunix $f"); } -@@ -1995,3 +1997,3 @@ +@@ -1995,3 +1997,5 @@ if ($command eq "install") { - if ($> != 0) { ++ my $tid = $>; ++ + if ($< != 0) { print STDERR "You must be root to do \"glupart install\"\n"; +@@ -1999,2 +2003,5 @@ + } ++ if ($< == 0 && $> != 0) { ++ $> = $<; ++ } + &my_mkdir($gl_dataDir); +@@ -2002,2 +2009,7 @@ + $gl_reservationFile, $gl_lockFile, $gl_logFile); ++ ++ if ($> != $tid) { ++ $> = $tid; ++ } ++ + exit(0); |