summaryrefslogtreecommitdiffstats
path: root/createlinks
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-03 17:06:08 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-03 17:06:08 +0100
commit2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5 (patch)
tree89c97002bf4ed8c3f4f3b9d15d1d88c4eddb3b84 /createlinks
parentb75326edbdd0ae11f4e10aedb2f64ce536b67479 (diff)
downloadrepo-tools-2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5.tar.gz
repo-tools-2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5.tar.xz
include lib32
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