projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a677fc
)
set umask on all script runs
author
root
<devnull@localhost>
Mon, 8 Apr 1996 17:53:21 +0000
(17:53 +0000)
committer
root
<devnull@localhost>
Mon, 8 Apr 1996 17:53:21 +0000
(17:53 +0000)
CVS patchset: 532
CVS date: 1996/04/08 17:53:21
build/build.c
patch
|
blob
|
history
diff --git
a/build/build.c
b/build/build.c
index
36af4d4
..
e1112aa
100644
(file)
--- a/
build/build.c
+++ b/
build/build.c
@@
-84,6
+84,9
@@
struct Script *openScript(Spec spec, int builddir, char *name)
fprintf(script->file, "exec > /dev/null\n\n");
}
+ /* Set the umask to a known value */
+ fprintf(script->file, "umask 022\n");
+
fprintf(script->file, "\necho Excuting: %s\n", name);
fprintf(script->file, "cd %s\n\n", getVar(RPMVAR_BUILDDIR));
if (builddir) {