summaryrefslogtreecommitdiffstats
path: root/compat32-tools
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-01-25 00:29:51 +0000
committer Eric Hameleers <alien@slackware.com>2015-01-25 00:29:51 +0000
commit6cadd752b767cb8f3df71fec9f957a16a39fe8d6 (patch)
tree86896c41b5511e8f39109fd30f98e4b237a60892 /compat32-tools
parent91ed769bac92271fc87b3b71f73b45c4030f9923 (diff)
downloadmultilib-6cadd752b767cb8f3df71fec9f957a16a39fe8d6.tar.gz
multilib-6cadd752b767cb8f3df71fec9f957a16a39fe8d6.tar.xz
Some symlinks in doinst.sh point to ../../sbin or ../sbin - remove those
Diffstat (limited to 'compat32-tools')
-rwxr-xr-xcompat32-tools/convertpkg-compat323
1 files changed, 2 insertions, 1 deletions
diff --git a/compat32-tools/convertpkg-compat32 b/compat32-tools/convertpkg-compat32
index 41042a3..f12d596 100755
--- a/compat32-tools/convertpkg-compat32
+++ b/compat32-tools/convertpkg-compat32
@@ -257,7 +257,8 @@ elif [ -f install/doinst.sh ]; then
echo -n "" > install/doinst.sh.1
fi
# Only keep lines that deal with symlinks in bin/32 and lib directories:
- ( cat install/doinst.sh |grep -v "etc/ld.so.conf" \
+ ( cat install/doinst.sh \
+ |grep -v "etc/ld.so.conf" |grep -v "../sbin/" \
|grep -E '(usr/bin |lib |lib/)' > install/doinst.sh.2
cat install/doinst.sh.1 install/doinst.sh.2 \
|sed -e 's#usr/bin#usr/bin/32#g' > install/doinst.sh