[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1882.0. "Executing a command procedure using sup" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Wed Oct 18 1995 17:36

Date Of Receipt: 	18-OCT-1995 10:39:37.21
From: 	SMURF::WASTED::"[email protected]" "18-Oct-1995 1036"
To: 	[email protected]
CC: 	
Subj: 	Executing a command procedure using sup

Hi,
	Has anybody tried to use the "-e" flag to execute 
a command procedure when sup upgrades a file?

Thanks,

Rich
================================================================
Rich Larsen, M/S: UNX			TCP/IP: [email protected]
USSG/User Env. & Std. Group		DECnet: UNXA::LARSEN
Digital Equipment Corporation		FAX:	908-577-6003
200 Route 9 North			Voice:	908-577-6083	
Manalapan, New Jersey 07726		DTN:	462 

T.RTitleUserPersonal
Name
DateLines
1882.1Re: Executing a command procedure using supAOSG::FILTERAutomatic Posting Software - mail to flume::puckWed Oct 18 1995 17:4159
Date Of Receipt: 	18-OCT-1995 11:13:22.53
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE  18-Oct-1995 1110"
To: 	Rich Larsen <[email protected]>
CC: 	odehelp@DEC:.zko.flume
Subj: 	Re: Executing a command procedure using sup

Yes, in fact just recently I was testing that.  Also John Flanagan has.

Here for example, is a rule I was experimenting with, I'll be using
something like this to change the modes of directories under src from
755 to 750 (as per a phone message I left you; don't worry you'll have
plenty of notice).

In this example, I created a new file 'z' at the top of the pool, and
when z is sup'd the rule runs on the client.  On subsequent sups, 
when z is already uptodate, the rule does not run.

% more list
upgrade src
upgrade z
execute cd src; chmod 750 `ls -F | grep /` (z)

-josh

> To: [email protected]
Subject: Executing a command procedure using sup
Date: Wed, 18 Oct 95 10:36:46 -0400
From: Rich Larsen <[email protected]>
>
> Hi,
> 	Has anybody tried to use the "-e" flag to execute 
> a command procedure when sup upgrades a file?
> 
> Thanks,
> 
> Rich
> ================================================================
> Rich Larsen, M/S: UNX			TCP/IP: [email protected]
> USSG/User Env. & Std. Group		DECnet: UNXA::LARSEN
> Digital Equipment Corporation		FAX:	908-577-6003
> 200 Route 9 North			Voice:	908-577-6083	
> Manalapan, New Jersey 07726		DTN:	462 




 ----------------------------------------------------------------------
 Joshua M. Friedman	 		Internet: [email protected]	
 Mailstop: ZKO3-3/W20			DECnet:   flume::friedman
 Digital UNIX Engineering		603-881-1548, dtn 381-1548
 110 Spitbrook Road 			Fax 603-881-2257, dtn 381-2257
 Nashua, NH  03062 			Office: zko3-3/z20

 Digital UNIX Release Engineering: [email protected], or URL:
	http://nsa.zk3.dec.com/rengweb
 ----------------------------------------------------------------------