From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: 102.42a + Tiger
   Date: Mon, 26 Sep 2005 15:40:38 -0700
Msg# 1050
View Complete Thread (4 articles) | All Threads
Last Next
Gary Jaeger wrote:
I see that the .common.pl is now stored with the submit scripts. OK.

	Yes.

Now I'm would like to know if I can use my old .common.pl in the NEW location.

        You can have both old and new submit scripts on the server, just
        keep them in separate dirs, ie:

//yourserver/rushscripts-old/
//yourserver/rushscripts-new/

        ..and users can use either or both with the new version of rush.

        Just keep the .common.pl files /separate/ for the old and new
        versions:

                o The old submit script's .common.pl file must live in /usr/local/rush/etc,
                  and when changes are made to it, just copy it around with the
                  the old 'rush -push .common.pl +any' technique.

                o The new submit script's .common.pl file will live on the file server
                  in the same dir as the new submit scripts. To make changes to it,
                  just edit that one copy on the server. No need to use 'rush -push'.

        Since the new version no longer has .common.pl in /usr/local/rush/etc,
        you can copy the /old one/ in there without fear of affecting the new scripts.

Are they the same or did something change so that rather than replace the new with the old I need to instead merge them?

	The .common.pl file changed quite a bit in the new release.

	I advise keeping the .common.pl files separate from one another,
	and maintaining them separately as above. Again:

/usr/local/rush/etc/.common.pl		 -- .common.pl for old submit scripts
//yourserver/rushscripts-new/.common.pl  -- .common.pl for new submit scripts

	I don't really recommend trying to merge those files into one,
	though if you can if you really know what you're doing.

	The easiest thing is to just keep the files separate,
	and make changes separately as needed.

actually, scratch that. I think I didn't follow the instructions here:
http://seriss.com/rush-current/submit-generic/mac-sysadmin-setup.html

	Correct.

foreach i ( host1 host2 host3 .. )
    echo --- $i
    rsh $i mv /usr/local/rush /usr/local/rush.pre-102.42
    rcp -rp /usr/local/rush ${i}:/usr/local/rush
    rsh $i /usr/local/rush/etc/bin/install.sh \; /usr/local/rush/etc/S99rush start
end

	Actually, /those/ instructions are just for installing rush on new machines..
	nothing to do with the submit scripts.

	You should only need to copy the new submit scripts to your file server /once/,
	then have all the users invoke the scripts from that directory, same as always.

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Cel: (Tel# suppressed)
Fax: (Tel# suppressed)

Last Next