projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc92e27
)
use RPMVAR_FIXPERMS rather then static chmod args
author
ewt
<devnull@localhost>
Thu, 16 Jan 1997 17:23:29 +0000
(17:23 +0000)
committer
ewt
<devnull@localhost>
Thu, 16 Jan 1997 17:23:29 +0000
(17:23 +0000)
CVS patchset: 1292
CVS date: 1997/01/16 17:23:29
build/build.c
patch
|
blob
|
history
diff --git
a/build/build.c
b/build/build.c
index
ac03193
..
1164d1c
100644
(file)
--- a/
build/build.c
+++ b/
build/build.c
@@
-350,7
+350,12
@@
static int doSetupMacro(Spec spec, StringBuf sb, char *line)
appendLineStringBuf(sb, "chown -R root .");
appendLineStringBuf(sb, "chgrp -R root .");
}
- appendLineStringBuf(sb, "chmod -R a+rX,g-w,o-w .");
+
+ if (rpmGetVar(RPMVAR_FIXPERMS)) {
+ appendStringBuf(sb, "chmod -R ");
+ appendStringBuf(sb, rpmGetVar(RPMVAR_FIXPERMS));
+ appendLineStringBuf(sb, " .");
+ }
return 0;
}