summaryrefslogtreecommitdiff
path: root/setup_libpri
blob: 632c0121351582ebc439c3ea4a2393d536843b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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