| 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
----------------------------------------------------------------------
|