Parent Directory | Revision Log
checkout upstream, patch and compile modified flv-player
1 | # checkout or update from upstream repository |
2 | |
3 | function svn_upstream() { |
4 | url=$1 |
5 | dir=$2 |
6 | echo "** svn $url -> $dir" |
7 | test -d $dir/.svn && cd $dir && svn update || svn co $url $dir && cd - |
8 | } |
9 | function git_upstream() { |
10 | url=$1 |
11 | dir=`echo $1 | sed -e 's!^.*/\([^/]*\).git$!\1!'` |
12 | echo "** git $url -> $dir" |
13 | test -d $dir/.git && cd $dir && git pull || git clone $url && cd - |
14 | } |
15 | |
16 | function hg_upstream() { |
17 | url=$1 |
18 | dir=`echo $1 | sed -e 's!^.*/\([^/]*\)$!\1!'` |
19 | echo "** hg $url -> $dir" |
20 | test -d $dir/.hg && cd $dir && hg pull || hg clone $url && cd - |
21 | } |
22 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |