summaryrefslogtreecommitdiff
path: root/installplatform
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-07-11 16:12:47 +0000
committerjbj <devnull@localhost>2000-07-11 16:12:47 +0000
commit5ce53ccb60268737fd23bd43dc9649c1221cf48c (patch)
tree30c993daf689392dc1e3984b3eff310f7d8b3e44 /installplatform
parent2380ca4893a57e8f9af1073c3ed7d3c326f7382e (diff)
downloadrpm-5ce53ccb60268737fd23bd43dc9649c1221cf48c.tar.gz
- fix: set multilibno on sparc per-platform config.
CVS patchset: 3936 CVS date: 2000/07/11 16:12:47
Diffstat (limited to 'installplatform')
-rwxr-xr-xinstallplatform3
1 files changed, 1 insertions, 2 deletions
diff --git a/installplatform b/installplatform
index ec02df4a3..6ea14bb33 100755
--- a/installplatform
+++ b/installplatform
@@ -56,13 +56,12 @@ for SUBST in $SUBSTS ; do
ARCH_INSTALL_POST='%{nil}'
MULTILIBNO=
case "${ARCH}-${OS}" in
- sparc64-linux) ARCH_INSTALL_POST=${pkglibdir}/brp-sparc64-linux; LIB=lib64 ;;
sparc-linux) MULTILIBNO=1 ;;
sparcv9-linux) MULTILIBNO=1 ;;
sparc64-linux) ARCH_INSTALL_POST=${pkglibdir}/brp-sparc64-linux; LIB=lib64; MULTILIBNO=2 ;;
esac
- if [ "$MULTILIBNO" ]; then
+ if [ -n "$MULTILIBNO" ]; then
MULTILIBSED='-e /^@MULTILIB/d -e s,@MULTILIBNO@,'$MULTILIBNO,
else
MULTILIBSED='-e /^@MULTILIBSTART@/,/^@MULTILIBEND@/d'