diff options
author | Tzafrir Cohen <tzafrir@cohens.org.il> | 2010-04-25 12:10:11 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir@cohens.org.il> | 2010-04-25 12:10:11 +0300 |
commit | 8955080818d0dadd451fac05fe9c8150f76bcdca (patch) | |
tree | facf3f3dd5c80be8086f51f679acfab2b51611a4 | |
parent | b1c9c13780b5ffa7cce40bdb25cb0ec8348d880f (diff) |
a setup script for libpri
-rwxr-xr-x | setup_libpri | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/setup_libpri b/setup_libpri new file mode 100755 index 0000000..632c012 --- /dev/null +++ b/setup_libpri @@ -0,0 +1,19 @@ +#!/bin/sh + +# Extra setup after cloning the LibPRI repository. +# Assumes you also cloned asterisk-tools to a near-by directory. +# 'AUTHORS' is generated by './gen_authors >AUTHORS' + +# Extra setup to run +TOOLS_DIR=`dirname $0` + +# Just in case you'll use git-svn here as well: +ln -s $TOOLS_DIR/AUTHORS . +git config --add svn.authorsfile AUTHORS + +ln -s $TOOLS_DIR/libpri_gitignore .gitignore + +# 1.4 is the real master +git branch -m master tmp-master +git checkout --track -b master origin/svn_1.4 +git branch -D tmp-master |