Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 20:16:11 +0100
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        freebsd-gnome@FreeBSD.ORG
Subject:   Re: Howto do ./marcusmerge ?
Message-ID:  <20030117191611.GI337@martin.kdrache.org>
In-Reply-To: <1042822996.328.10.camel@gyros>; from marcus@marcuscom.com on Fr, Jan 17, 2003 at 18:03:16 %2B0100
References:  <20030117135722.V34734@small.pukruppa.de> <1042814311.14047.21.camel@ds9.webonaut.com> <20030117151710.GC337@martin.kdrache.org> <1042818446.14047.45.camel@ds9.webonaut.com> <20030117160226.GG337@martin.kdrache.org> <1042822996.328.10.camel@gyros>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 2003.01.17 18:03 schrieb(en) Joe Marcus Clarke:

> I like your modifications, and I'll commit them.  However, I have to
> agree with Franz.  I don't think having a default directory is good at
> all.  I think I'll set to it nothing, then "assert" unless the user
> changes it.
> 
> Thanks for the submissions.

You're welcome. ;-)

Just one thing to prevent the user to checkout to a wrong directory, I 
added:

---diff starts here---
--- marcusmerge.orig	Fri Jan 17 19:58:43 2003
+++ marcusmerge	Fri Jan 17 20:10:14 2003
@@ -15,6 +15,8 @@
      printf "First we have to checkout the ports module 
from\nhttp://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi\nPlease type 
'anoncvs' as your password.\n\n"
      cvs 
-d:pserver:anaonymous@creme-brulee.marcuscom.com:/space/cvs/marcuscom-cvs 
login
      echo "===> Checking out the ports module."
+    mkdir -p ${SRCDIR}
+    cd ${SRCDIR} ; cd ..
      cvs -z3 
-d:pserver:anonymous@creme-brulee.marcuscom.com:/space/cvs/marcuscom-cvs 
co ports
      echo "===> Checkout done."
  fi
--diff ends here---

The cvs co -d ${SRCDIR} didn't work, if ${SRCDIR} is an absolute path 
(sh extracts ~ to an absolute path).
But this diff works fine, even if I don't know if this is really clean.

Martin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030117191611.GI337>