summaryrefslogtreecommitdiffstats
path: root/createlinks
diff options
context:
space:
mode:
Diffstat (limited to 'createlinks')
-rwxr-xr-xcreatelinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/createlinks b/createlinks
index 7c975b7..341442f 100755
--- a/createlinks
+++ b/createlinks
@@ -45,7 +45,7 @@ for repo in ${repos[@]}; do
else
echo "$repo/$arch: $pkgname"
mkdir -p ${tmppkgdir}/pkg
- bsdtar -xof $pkg -C ${tmppkgdir}/pkg --include={opt,{,usr/}{lib,{s,}bin}}'/*' 2>/dev/null
+ bsdtar -xof $pkg -C ${tmppkgdir}/pkg --include={opt,{,usr/}{lib{,32},{s,}bin}}'/*' 2>/dev/null
for f in $(find ${tmppkgdir}/pkg -type f); do
readelf -d "$f" 2> /dev/null | sed -nr 's/.*Shared library: \[(.*)\].*/\1/p'
done | sort -u > ${tmppkgdir}/links