nsbin/choose-cvs
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

16 lines
387 B
Text
Executable file

name="CVS"
tmp="/tmp/$name-$$"
alias dialog="dialog"
dialog --menu "$name" 0 0 0 anoncvs@anoncvs.xfree86.org:/cvs xfree-xc \
:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer mplayer-main 2> $tmp
export CVSROOT=`cat $tmp`
dialog --inputbox "CVS Module" 0 0 2> $tmp
export CVSMODULE=`cat $tmp`
dialog --textbox 0 0 "Checking out $CVSMODULE from $CVSROOT"
bash -c "cvs co $CVSMODULE"