]> git.pld-linux.org Git - packages/gnumeric.git/blob - gnumeric-bashizm.patch
- fix for heap overflow in the included PCRE library (CAN-2005-2491)
[packages/gnumeric.git] / gnumeric-bashizm.patch
1 --- gnumeric-1.3.92/templates/autoformat/Makefile.am.orig       2004-11-04 13:36:03.087143080 +0100
2 +++ gnumeric-1.3.92/templates/autoformat/Makefile.am    2004-11-04 13:37:54.055273360 +0100
3 @@ -41,13 +41,13 @@
4                     < $(srcdir)/$$cat.category.in                       \
5                     > $$dir/.category   ;                               \
6                 for f in $(srcdir)/autoformat.$$cat.*.xml.in ; do       \
7 -                       echo "  $${f/.*autoformat.$$cat./}" ;           \
8 +                       echo "  `echo $${f} | sed -e 's#.*autoformat.$$cat.##g'`"; \
9                         sed                                             \
10                                 -e 's/ _author *=/ author=/'            \
11                                 -e 's/ _name *=/ name=/'                \
12                                 -e 's/ _description *=/ description=/'  \
13                             < $$f                                       \
14 -                           > $$dir/`basename $${f/.xml.in/.xml}` ;     \
15 +                           > $$dir/`basename `echo $${f} | sed -e 's#.xml.in#.xml#g'``;\
16                 done                                                    \
17         done
18  
This page took 0.027908 seconds and 3 git commands to generate.