From owner-freebsd-gnome@FreeBSD.ORG Tue Oct 28 23:54:50 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC04E16A4CE for ; Tue, 28 Oct 2003 23:54:50 -0800 (PST) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC1E543F75 for ; Tue, 28 Oct 2003 23:54:47 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao05.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031029075446.VULS16588.lakemtao05.cox.net@mezz.mezzweb.com> for ; Wed, 29 Oct 2003 02:54:46 -0500 Date: Wed, 29 Oct 2003 01:54:01 -0600 To: freebsd-gnome@freebsd.org From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.21/Linux M2 build 480 Subject: $SCRIPTNAME in marcusmerge isn't working.. X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 07:54:51 -0000 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.