OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 11-Oct-2005 22:37:07
Branch: HEAD Handle: 2005101121370700
Modified files:
openpkg-tools/cmd dev.sh
Log:
change default from hard-coded instances to automatic detection of
suitable instance(s)
Summary:
Revision Changes Path
1.63 +2 -1 openpkg-tools/cmd/dev.sh
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/dev.sh
============================================================================
$ cvs diff -u -r1.62 -r1.63 dev.sh
--- openpkg-tools/cmd/dev.sh 11 Oct 2005 16:11:24 -0000 1.62
+++ openpkg-tools/cmd/dev.sh 11 Oct 2005 20:37:07 -0000 1.63
@@ -50,7 +50,8 @@
export OPENPKG_ARGS
# default configuration
-OPENPKG_INST="/openpkg-dev /openpkg-22 /openpkg-21 /openpkg-20"
+OPENPKG_INST=`grep /openpkg </etc/openpkg | sort -r; grep -v /openpkg
</etc/openpkg | sort -r`
+OPENPKG_INST=`echo ${OPENPKG_INST:-/openpkg}`
OPENPKG_WORK=${HOME}/work/openpkg
OPENPKG_TEMP=${TMPDIR-/tmp}/${LOGNAME}/openpkg
# special override for openpkg.net domain
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]