]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-patch-quote.patch
- fix prep failures
[packages/rpm.git] / rpm-patch-quote.patch
1 --- ./build/parsePrep.c~        2003-11-16 14:47:23.000000000 +0200
2 +++ ./build/parsePrep.c 2005-03-28 16:56:38.000000000 +0300
3 @@ -131,7 +131,7 @@
4  
5         sprintf(buf,
6                 "echo \"Patch #%d (%s):\"\n"
7 -               "%s -d < %s | patch -p%d %s -s\n"
8 +               "%s -d < '%s' | patch -p%d %s -s\n"
9                 "STATUS=$?\n"
10                 "if [ $STATUS -ne 0 ]; then\n"
11                 "  exit $STATUS\n"
12 @@ -143,7 +143,7 @@
13      } else {
14         sprintf(buf,
15                 "echo \"Patch #%d (%s):\"\n"
16 -               "patch -p%d %s -s < %s", c, (const char *) basename(fn),
17 +               "patch -p%d %s -s < '%s'", c, (const char *) basename(fn),
18                 strip, args, fn);
19      }
20  
This page took 0.031719 seconds and 3 git commands to generate.