Annotation of /trunk/mage/patches/mage-0.4.25-magequery-ignore-mage-files.patch
Parent Directory | Revision Log
Revision 1322 -
(hide annotations)
(download)
Thu May 12 20:12:26 2011 UTC (13 years, 4 months ago) by niro
File size: 507 byte(s)
Thu May 12 20:12:26 2011 UTC (13 years, 4 months ago) by niro
File size: 507 byte(s)
fixed magequery
1 | niro | 1322 | Index: mage/usr/lib/mage/magequery.sh |
2 | =================================================================== | ||
3 | --- mage/usr/lib/mage/magequery.sh (Revision 1268) | ||
4 | +++ mage/usr/lib/mage/magequery.sh (Arbeitskopie) | ||
5 | @@ -77,6 +77,11 @@ | ||
6 | unset i pkg | ||
7 | for i in $(fgrep -rl "${SEARCH_PATH}" ${INSTALLDB}) | ||
8 | do | ||
9 | + # ignore magefiles! | ||
10 | + case ${i} in | ||
11 | + *.mage) continue ;; | ||
12 | + esac | ||
13 | + | ||
14 | # print categorie and pkgname | ||
15 | pkg="$(basename ${i%/*/*})/$(basename ${i%/*})" | ||
16 | if [[ -z $(echo ${S_PACKAGES} | grep ${pkg}) ]] |