From 3735ead3dc356e4d0a123e55041fb70bb6ec8226 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 13 Jan 2015 15:51:01 +0100 Subject: [PATCH] hooks/prepare-32bit: subst /usr/lib to /usr/lib32 in lib32files. --- common/hooks/pre-pkg/05-prepare-32bit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/pre-pkg/05-prepare-32bit.sh b/common/hooks/pre-pkg/05-prepare-32bit.sh index 106a0f380d4..2cc6c6ed7ca 100644 --- a/common/hooks/pre-pkg/05-prepare-32bit.sh +++ b/common/hooks/pre-pkg/05-prepare-32bit.sh @@ -149,8 +149,8 @@ hook() { for f in ${lib32files}; do echo "$pkgver: installing additional files: $f ..." _targetdir=${destdir32}/$(dirname ${f}) - mkdir -p ${_targetdir} - cp -a ${PKGDESTDIR}/${f} ${_targetdir} + mkdir -p ${_targetdir/\/usr\/lib/\/usr\/lib32} + cp -a ${PKGDESTDIR}/${f} ${_targetdir/\/usr\/lib/\/usr\/lib32} done # If it's a development pkg add a dependency to the 64bit pkg. if [[ $pkgname =~ '-devel' ]]; then