info-cvs
[Top][All Lists]
Advanced

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

Run script automaticaly on checkout with path data


From: Chen Levy
Subject: Run script automaticaly on checkout with path data
Date: Mon, 29 Apr 2002 16:43:43 +0300
User-agent: KNode/0.7.1

THE PROBLEM:
I can put in $CVSROOT/CVSROOT/modules:

my_module -o $CVSROOT/CVSROOT/my_script.sh

to run my_script.sh automatically every time I do `cvs co my_module',
unfortunatly, my_script.sh has no information about the direcory into which 
my_moudle was enterd (the path of the new local copy). The only data 
avalable is:

$1 == my_module
$PWD == /tmp/cvs-servNNNN (where NNNN is some number).
There is no usefull data in the /tmp/cvs-servNNNN, nor in the enviroment.

THE QUESTION:
Is there any way that my_scropt.sh will be able to do something intelegent 
on the new local copy right after checkout ?

Thanks,
Chen,
address@hidden


reply via email to

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