nsbin/old/choose-cvs
Nico Schottelius c23bfc5a82 reorganise more old stuff
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-12-28 20:13:28 +01: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"