aboutsummaryrefslogtreecommitdiff
path: root/trunk/utils/repos
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/utils/repos')
-rwxr-xr-xtrunk/utils/repos6
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/utils/repos b/trunk/utils/repos
index e4a17ee..57ecdff 100755
--- a/trunk/utils/repos
+++ b/trunk/utils/repos
@@ -30,7 +30,7 @@ function usage {
function do_all {
- for pkg in `find . -type f -name '*.tgz' -print`; do
+ for pkg in `find . -type f $(pkg_ext_find) -print`; do
gen_meta $pkg
done
$0 PACKAGESTXT
@@ -55,8 +55,8 @@ case "$1" in
do_all
;;
new)
- for pkg in `find . -type f -name '*.tgz' -print`; do
- if [ ! -f ${pkg%tgz}meta ]; then
+ for pkg in `find . -type f $(pkg_ext_find) -print`; do
+ if [ ! -f $(strip_pkg_ext $pkg).meta ]; then
gen_meta $pkg
fi
done