Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2003 01:54:01 -0600
From:      Jeremy Messenger <mezz7@cox.net>
To:        freebsd-gnome@freebsd.org
Subject:   $SCRIPTNAME in marcusmerge isn't working..
Message-ID:  <oprxsn8bt18ckrg5@smtp.central.cox.net>

next in thread | raw e-mail | index | archive | help
If I do the 'sh /path/to/marcusmerge' and it will ingore the varibles that 
I have filled out in the /usr/local/etc/marcusmerge.cfg .. If I change 
like this:

====================================
diff -ur marcusmerge.orig marcusmerge
--- marcusmerge.orig    Wed Oct 29 01:46:41 2003
+++ marcusmerge Wed Oct 29 01:47:00 2003
@@ -51,11 +51,11 @@
  updating="no"
  # End list of overrideable variables

+SCRIPTNAME=`basename $0`
+
  if [ -f /usr/local/etc/${SCRIPTNAME}.cfg ]; then
  .    /usr/local/etc/${SCRIPTNAME}.cfg
  fi
-
-SCRIPTNAME=`basename $0`

  CVSROOT=":pserver:anonymous@creme-brulee.marcuscom.com:/space/cvs/marcuscom-cvs"
  TARBALL_URL="http://www.marcuscom.com:8080/downloads/"
====================================

It works fine and will listen to the /usr/local/etc/marcusmerge.cfg..

Another thing, I think this sentence needs to be change.

====================================
# These variables are overrideable in /usr/local/etc/${SCRIPTNAME}.cfg.

[...]

# End list of overrideable variables
====================================

Because, it will work fine with the all varibles in there. I have wrote in 
the man page of marcusmerge and explain about that you can copy all 
varibles and paste in there.. Perhaps, we should move the first sentence 
to the top of SRCDIR varible without edit the sentence?

Cheers,
Mezz


-- 
bsdforums.org 's moderator, mezz.



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