aboutsummaryrefslogtreecommitdiff
path: root/trunk/utils/searchpkg
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/utils/searchpkg')
-rwxr-xr-xtrunk/utils/searchpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/utils/searchpkg b/trunk/utils/searchpkg
index cc5a827..1986e00 100755
--- a/trunk/utils/searchpkg
+++ b/trunk/utils/searchpkg
@@ -30,7 +30,7 @@ FILELIST="$1/FILELIST.TXT"
PACKAGE_FIELD="8"
if [ -z "$2" ]; then
- grep .tgz $FILELIST
+ grep -E -e "$(pkg_ext_grep)" $FILELIST
else
- grep -e "$2" $FILELIST | grep tgz | awk "{ print \$$PACKAGE_FIELD }"
+ grep -e "$2" $FILELIST | grep -E -e "$(pkg_ext_grep)" | awk "{ print \$$PACKAGE_FIELD }"
fi