summaryrefslogtreecommitdiffstats
path: root/createlinks
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-20 04:39:10 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-20 04:39:10 +0100
commit82b72e56ead2e5f7a0ac512d748d1d917c7280bd (patch)
tree8dd094e0cde12831aa2a2947388ba2fe464618fe /createlinks
parent2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5 (diff)
downloadrepo-tools-82b72e56ead2e5f7a0ac512d748d1d917c7280bd.tar.gz
repo-tools-82b72e56ead2e5f7a0ac512d748d1d917c7280bd.tar.xz
ignore any packages
Diffstat (limited to 'createlinks')
-rwxr-xr-xcreatelinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/createlinks b/createlinks
index 341442f..1121482 100755
--- a/createlinks
+++ b/createlinks
@@ -35,7 +35,7 @@ for repo in ${repos[@]}; do
fi
# create file lists
- for pkg in $(find $target/$repodir -xtype f -name '*.pkg.tar.*'); do
+ for pkg in $(find $target/$repodir -xtype f -name "*-${arch}.pkg.tar.*"); do
pkgname=$(getpkgname $pkg)
tmppkgdir=${tmp}/tmp/${repodir}/${pkgname}
mkdir -p $tmppkgdir