pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/suse91_linux Ignore return value from grep; ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/647d45e643fe
branches:  trunk
changeset: 483136:647d45e643fe
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 08 12:41:08 2004 +0000

description:
Ignore return value from grep; somehow this broke suse91_compat installation
on 2.0_BETA/i386 for me.

diffstat:

 emulators/suse91_linux/Makefile.common |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 450d7ead0dce -r 647d45e643fe emulators/suse91_linux/Makefile.common
--- a/emulators/suse91_linux/Makefile.common    Mon Nov 08 12:38:19 2004 +0000
+++ b/emulators/suse91_linux/Makefile.common    Mon Nov 08 12:41:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2004/10/07 02:01:37 jlam Exp $
+# $NetBSD: Makefile.common,v 1.5 2004/11/08 12:41:08 wiz Exp $
 
 SUSE_VERSION=          9.1
 
@@ -63,10 +63,10 @@
          ${ECHO_MSG} "===> [Automatic Linux shared object handling]"; \
          ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}; \
          ${MV} -f ${PLIST_SRC} ${PLIST_SRC}.old; \
-         ${GREP} -v '^@dirrm' ${PLIST_SRC}.old >${PLIST_SRC}; \
+         ${GREP} -v '^@dirrm' ${PLIST_SRC}.old >${PLIST_SRC} || ${TRUE}; \
          ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}; \
          ${ECHO} "@unexec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR} 2>/dev/null" >>${PLIST_SRC}; \
-         ${GREP} '^@dirrm' ${PLIST_SRC}.old >>${PLIST_SRC}; \
+         ${GREP} '^@dirrm' ${PLIST_SRC}.old >>${PLIST_SRC} || ${TRUE}; \
          ${RM} -f ${PLIST_SRC}.old; \
        fi
 .endif



Home | Main Index | Thread Index | Old Index