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:
c8a09d4
)
make %patch and %setup case sensitive
author
root
<devnull@localhost>
Wed, 16 Apr 1997 15:48:10 +0000
(15:48 +0000)
committer
root
<devnull@localhost>
Wed, 16 Apr 1997 15:48:10 +0000
(15:48 +0000)
CVS patchset: 1544
CVS date: 1997/04/16 15:48:10
build/build.c
patch
|
blob
|
history
diff --git
a/build/build.c
b/build/build.c
index
62b0dad
..
b0f0388
100644
(file)
--- a/
build/build.c
+++ b/
build/build.c
@@
-605,11
+605,11
@@
int execPrep(Spec s, int really_exec, int test)
lines = splitString(p, strlen(p), '\n');
lines1 = lines;
while (*lines) {
- if (! strnc
asec
mp(*lines, "%setup", 6)) {
+ if (! strncmp(*lines, "%setup", 6)) {
if (doSetupMacro(s, out, *lines)) {
return 1;
}
- } else if (! strnc
asec
mp(*lines, "%patch", 6)) {
+ } else if (! strncmp(*lines, "%patch", 6)) {
if (doPatchMacro(s, out, *lines)) {
return 1;
}