nsbin/old/choose-cvs

17 lines
387 B
Text
Raw Normal View History

2006-07-20 07:54:37 +00:00
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"