make %patch and %setup case sensitive
authorroot <devnull@localhost>
Wed, 16 Apr 1997 15:48:10 +0000 (15:48 +0000)
committerroot <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

index 62b0dad..b0f0388 100644 (file)
@@ -605,11 +605,11 @@ int execPrep(Spec s, int really_exec, int test)
     lines = splitString(p, strlen(p), '\n');
     lines1 = lines;
     while (*lines) {
-       if (! strncasecmp(*lines, "%setup", 6)) {
+       if (! strncmp(*lines, "%setup", 6)) {
            if (doSetupMacro(s, out, *lines)) {
                return 1;
            }
-       } else if (! strncasecmp(*lines, "%patch", 6)) {
+       } else if (! strncmp(*lines, "%patch", 6)) {
            if (doPatchMacro(s, out, *lines)) {
                return 1;
            }