hooks/prepare-32bit: subst /usr/lib to /usr/lib32 in lib32files.

This commit is contained in:
Juan RP 2015-01-13 15:51:01 +01:00
parent f529aa3062
commit 3735ead3dc
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ hook() {
for f in ${lib32files}; do for f in ${lib32files}; do
echo "$pkgver: installing additional files: $f ..." echo "$pkgver: installing additional files: $f ..."
_targetdir=${destdir32}/$(dirname ${f}) _targetdir=${destdir32}/$(dirname ${f})
mkdir -p ${_targetdir} mkdir -p ${_targetdir/\/usr\/lib/\/usr\/lib32}
cp -a ${PKGDESTDIR}/${f} ${_targetdir} cp -a ${PKGDESTDIR}/${f} ${_targetdir/\/usr\/lib/\/usr\/lib32}
done done
# If it's a development pkg add a dependency to the 64bit pkg. # If it's a development pkg add a dependency to the 64bit pkg.
if [[ $pkgname =~ '-devel' ]]; then if [[ $pkgname =~ '-devel' ]]; then