summaryrefslogtreecommitdiffstats
path: root/compat32-tools
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-08-31 19:47:06 +0000
committer Eric Hameleers <alien@slackware.com>2009-08-31 19:47:06 +0000
commit2094e62dbd067df7b65659617f1a955e5e9b9656 (patch)
treefe482c9c43b9ebe3248b2d701cdab7e65f263b85 /compat32-tools
parentd97eef3f09dda5c7f2a566674d3563601185453f (diff)
downloadmultilib-2094e62dbd067df7b65659617f1a955e5e9b9656.tar.gz
multilib-2094e62dbd067df7b65659617f1a955e5e9b9656.tar.xz
I think this will be liked better by makepkg
Diffstat (limited to 'compat32-tools')
-rwxr-xr-xcompat32-tools/convertpkg-compat328
1 files changed, 3 insertions, 5 deletions
diff --git a/compat32-tools/convertpkg-compat32 b/compat32-tools/convertpkg-compat32
index 641d760..2860463 100755
--- a/compat32-tools/convertpkg-compat32
+++ b/compat32-tools/convertpkg-compat32
@@ -174,11 +174,9 @@ fi
# /usr/i486-slackware-linux/lib will not be found by Slackware64:
if [ "$PKGNAM" = "cxxlibs" ]; then
mkdir -p usr/lib # just in case
- cd usr/lib
- for OLIB in $(find ../i486-slackware-linux/lib -type f -maxdepth 1) ; do
- ln -sf $OLIB $(basename $OLIB)
- done
- cd -
+ for OLIB in $(find usr/i486-slackware-linux/lib -type f -maxdepth 1) ; do
+ cp -a $OLIB usr/lib/
+ done
cat install/doinst.sh | grep '/i486-slackware-linux' > install/doinst.sh.2
cat install/doinst.sh.2 | sed -e 's#/i486-slackware-linux##g' >> install/doinst.sh
rm -f install/doinst.sh.2