/[smecontribs]/rpms/plague/contribs8/plague-0.4.4.1-srpm-umask.patch
ViewVC logotype

Annotation of /rpms/plague/contribs8/plague-0.4.4.1-srpm-umask.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Mar 27 16:07:38 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: plague-0_4_4_1-10_el5_sme
Import on branch contribs8 of package plague-0.4.4.1-10.el5.sme.src.rpm

1 slords 1.1 diff -Nur plague-0.4.4.1-orig/server/PackageJob.py plague-0.4.4.1/server/PackageJob.py
2     --- plague-0.4.4.1-orig/server/PackageJob.py 2006-03-13 05:10:49.000000000 +0100
3     +++ plague-0.4.4.1/server/PackageJob.py 2007-11-13 17:54:19.000000000 +0100
4     @@ -299,7 +299,7 @@
5     env_args = "%s CVS_RSH='%s'" % (env_args, cvs_rsh)
6    
7     # Checkout the module
8     - cmd = 'cd %s; %s %s co -r %s %s' % (self.checkout_tmpdir, env_args, CVS_CMD,
9     + cmd = 'umask 0022; cd %s; %s %s co -r %s %s' % (self.checkout_tmpdir, env_args, CVS_CMD,
10     self._source, self.package)
11     debugprint("%d: Running %s" % (self.uid, cmd))
12     s, o = commands.getstatusoutput(cmd)
13     @@ -340,7 +340,7 @@
14     msg = "Error: could not find checkout directory %s for %s. Sources probably don't exist for this target." % (srpm_dir, self._source)
15     raise PrepError(msg)
16    
17     - cmd = 'cd %s; %s srpm' % (srpm_dir, MAKE_CMD)
18     + cmd = 'umask 0022; cd %s; %s srpm' % (srpm_dir, MAKE_CMD)
19     debugprint("%d: Running %s in %s" % (self.uid, cmd, srpm_dir))
20     s, o = commands.getstatusoutput(cmd)
21     if s != 0:

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed