#!/bin/sh # getdude.sh # get duuuude's stuff from digium repository and overlay a working copy # All Rights Reserved. Copyright (C)2008 Xelatec, LLC # http://www.xelatec.com # Author: Steven Henke, sph@xelatec.com # repourl="http://svn.easyvoxbox.org/repo/evb/team/steveh/EVB-0.014" repouser=aguest repopasswd=myvoxbox # EXPORTDIR=frmduuuude ASTVERS=1.4.21-2 # WORKDIR=/usr/src/EVB/ast_base/$ASTVERS # APPUPDATE=0 # echo - echo "Exporting Radio Stuff from Duuuude's Digium Repostitory..." echo - # # export (not checkout) files from digium svn # into asterisk structure starting at cwd # if [ -e $EXPORTDIR ]; then rm -fr $EXPORTDIR fi # svn export http://svn.digium.com/svn/asterisk/team/jdixon/chan_usbradio-1.4 ./$EXPORTDIR # if [ $APPUPDATE = 1 ]; then target=apps/app_rpt.c cp -p $EXPORTDIR/$target $WORKDIR/$target # target=channels/chan_usbradio.c cp -p $EXPORTDIR/$target $WORKDIR/$target # target=channels/chan_irlp.c cp -p $EXPORTDIR/$target $WORKDIR/$target # target=channels/chan_echolink.c cp -p $EXPORTDIR/$target $WORKDIR/$target echo - echo "Now review the changes, edit if necessary and then commit." echo - else echo - echo "Just exported the current files for examination." echo - fi # # # end