[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modify administrative files upon commit

From: Stephan Feder
Subject: Re: Modify administrative files upon commit
Date: Fri, 05 Apr 2002 15:39:34 +0200

Hello Stefano,

Stefano Costa wrote:
> Dear readers of this list,
> I have this problem: I'm using a few scripts (perl mainly) that are called 
> before commit (specified
> inside commitinfo) and I'd like to maintain these scripts along with the 
> other CVSROOT
> administrative files. So I added their names to checkoutlist and they are 
> correctly checkout after
> commit into $CVSROOT/CVSROOT. But I didn't find a way to modify their 
> attributes so that they
> are set executable *after* having been checkout, any idea?

You could explicitly invoke the interpreter in the commitinfo file; to
invoke " arg1 arg2" you would have to write "/bin/sh arg1 arg2". This method should work with other scripting
languages, too.

Hope that helps


reply via email to

[Prev in Thread] Current Thread [Next in Thread]