OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re Date: 22-Jul-2003 21:17:16
Branch: HEAD Handle: 2003072220171600
Modified files:
openpkg-re openpkg-dev
Log:
workaround for platforms where grep does not support -q(uiet) option
Summary:
Revision Changes Path
1.130 +2 -2 openpkg-re/openpkg-dev
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/openpkg-dev
============================================================================
$ cvs diff -u -r1.129 -r1.130 openpkg-dev
--- openpkg-re/openpkg-dev 22 Jul 2003 14:46:59 -0000 1.129
+++ openpkg-re/openpkg-dev 22 Jul 2003 19:17:16 -0000 1.130
@@ -307,7 +307,7 @@
# - patch the RSE patch to disable the upward search -> bad for existing
binaries
# - use -f option to ignore .cvsrc -> requires this script to provide the
options directly
# - temporary solution is to just print a warning
- cvs --version | grep -q RSE && if [ -f /u/thl/.cvsrc ]; then
+ cvs --version | grep RSE >/dev/null && if [ -f /u/thl/.cvsrc ]; then
warn "you use cvs with RSE patches, your ~/.cvsrc may collide with
${OPENPKG_WORK}/.cvsrc"
fi
}
@@ -510,7 +510,7 @@
BRANDR=`echo "${RV}" | sed -e
's;^\([1-9][0-9]*\(_\{0,1\}[0-9]*\)\)\(.*\)$;\3;' -e 's;^_*;;'`
# select direction, check optional direction
- echo ${BRANBP} | grep -q '_'
+ echo ${BRANBP} | grep '_' >/dev/null
if [ $? = 0 ]; then
RV="OPENPKG_${BRANBP}_SOLID"
else
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]