/[pkgs]/rpms/man/devel/man-1.6f-star.patch
ViewVC logotype

Contents of /rpms/man/devel/man-1.6f-star.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Nov 20 08:59:12 2008 UTC (12 months ago) by varekova
Branch: MAIN
CVS Tags: man-1_6f-13_fc11, F-12-split, man-1_6f-21_fc12, man-1_6f-19_fc12, F-11-split, man-1_6f-18_fc12, man-1_6f-22_fc12, man-1_6f-15_fc11, man-1_6f-20_fc12, man-1_6f-16_fc11, man-1_6f-17_fc11, man-1_6f-23_fc13, man-1_6f-14_fc11, HEAD
File MIME type: text/x-patch
- Resolves: #458042
  makewhatis error on file name with shell meta-characters
1 diff -up man-1.6f/src/makewhatis.sh.pom man-1.6f/src/makewhatis.sh
2 --- man-1.6f/src/makewhatis.sh.pom 2008-11-20 09:09:18.000000000 +0100
3 +++ man-1.6f/src/makewhatis.sh 2008-11-20 09:20:55.000000000 +0100
4 @@ -216,10 +216,10 @@ do
5 utf8=
6 for x in $(find $mandir/${pages}$i -name '*' $findarg0 $findarg)
7 do
8 - if [ ${x%.gz} != ${x} ]
9 + if [ "${x%.gz}" != "${x}" ]
10 then
11 cat=zcat
12 - elif [ ${x%.bz2} != ${x} ]
13 + elif [ "${x%.bz2}" != "${x}" ]
14 then
15 cat=bzcat
16 else

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2