diff --git a/common/hooks/pre-pkg/05-prepare-32bit.sh b/common/hooks/pre-pkg/05-prepare-32bit.sh index 106a0f380d..2cc6c6ed7c 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