Parent Directory
|
Revision Log
- 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 |