logo       
Google Custom Search
    AddThis Social Bookmark Button

Run script automaticaly on checkout with path data: msg#00768

Subject: Run script automaticaly on checkout with path data
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,
cvs@xxxxxxxxxxxx



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>