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:
9e5c81a
)
undo bug inbtroduced when moving macro before %if
author
marc
<devnull@localhost>
Thu, 30 Apr 1998 21:20:01 +0000
(21:20 +0000)
committer
marc
<devnull@localhost>
Thu, 30 Apr 1998 21:20:01 +0000
(21:20 +0000)
CVS patchset: 2100
CVS date: 1998/04/30 21:20:01
build/read.c
patch
|
blob
|
history
diff --git
a/build/read.c
b/build/read.c
index
8361cc9
..
66e18f0
100644
(file)
--- a/
build/read.c
+++ b/
build/read.c
@@
-62,7
+62,9
@@
int readLine(Spec spec, int strip)
*last = '\0';
}
- expandMacros(&spec->macros, spec->line);
+ if (spec->readStack->reading) {
+ expandMacros(&spec->macros, spec->line);
+ }
rpmGetArchInfo(&arch, NULL);
rpmGetOsInfo(&os, NULL);