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-Aug-2005 13:15:32 Branch: HEAD Handle: 2005081112153200 Modified files: openpkg-tools/cmd dev.sh Log: automatically make sure commit message from file uses absolute path; fix typo Summary: Revision Changes Path 1.52 +6 -1 openpkg-tools/cmd/dev.sh ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-tools/cmd/dev.sh ============================================================================ $ cvs diff -u -r1.51 -r1.52 dev.sh --- openpkg-tools/cmd/dev.sh 11 Aug 2005 09:32:33 -0000 1.51 +++ openpkg-tools/cmd/dev.sh 11 Aug 2005 11:15:32 -0000 1.52 @@ -1593,6 +1593,11 @@ all="${packages}" fi + # make sure commit message from file uses absolute path + if [ -f "${msg}" ]; then + echo "${msg}" | ${EGREP} "^/" >/dev/null 2>&1 || msg="`pwd`/${msg}" + fi + # determine whether CVS commit messages can be bundled bundle=0 names=0 @@ -1762,7 +1767,7 @@ echo "++ determining commit file list" files="$S/${name}" - echo "++ comitting changes to CVS repository" + echo "++ committing changes to CVS repository" builtin cd "${OPENPKG_WORK}" || die "cannot cd to ${OPENPKG_WORK}" if [ ".${msg}" != . -a -f "${msg}" ]; then if [ ${bundle} -eq 1 ]; then @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org