hooks/prepare-32bit: subst /usr/lib to /usr/lib32 in lib32files.
This commit is contained in:
parent
f529aa3062
commit
3735ead3dc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue