summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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