OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 30-Apr-2004 08:26:20
Branch: HEAD Handle: 2004043007262000
Modified files:
openpkg-tools/cmd dev.sh
Log:
When doing an "openpkg dev update" not all src.* directories are updates
if a simple "cvs update" is run in the top-level directory because the
src.* directories are usually created by _copying_ instead of _checking
out_. So they are not listed in the CVS/Entries file and hence they are
not picked up during "cvs update".
Summary:
Revision Changes Path
1.22 +6 -2 openpkg-tools/cmd/dev.sh
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/dev.sh
============================================================================
$ cvs diff -u -r1.21 -r1.22 dev.sh
--- openpkg-tools/cmd/dev.sh 28 Apr 2004 09:22:19 -0000 1.21
+++ openpkg-tools/cmd/dev.sh 30 Apr 2004 06:26:20 -0000 1.22
@@ -552,11 +552,15 @@
}
update () {
- echo "++ updating ${OPENPKG_REPO}/{adm,doc,re,src,web,tools}"
+ echo "++ updating ${OPENPKG_REPO}/{adm,doc,re,src*,web,tools}"
( builtin cd ${OPENPKG_WORK} || die "cannot cd to ${OPENPKG_WORK}"
HOME=${OPENPKG_WORK}
export HOME
- cvs -d ${OPENPKG_REPO} update
+ for subdir in adm doc re src src.* web tools; do
+ if [ -d $subdir ]; then
+ cvs -d ${OPENPKG_REPO} update $subdir
+ fi
+ done
)
}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]