diff options
author | Tzafrir Cohen <tzafrir@cohens.org.il> | 2010-04-22 16:50:20 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir@cohens.org.il> | 2010-04-22 16:50:20 +0300 |
commit | cc95bf511e1d225e6a9a59951b23d93f85948267 (patch) | |
tree | a663c0537dc01872ded1aa137e855541e85b6361 | |
parent | 579285392b84ff578c991be2a247a2640cf7ece4 (diff) |
setup: a simple script for after-clone setups
The extra things that need to be done after you cloned an asterisk
repository generated by git-svn (using asterisk-tools)
-rwxr-xr-x | setup | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +#!/bin/sh + +# Extra setup after cloning an Asterisk 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/asterisk_gitignore .gitignore + +mkdir -p menuselect +(cd menuselect; ln -s ../$TOOLS_DIR/menuselect/* .) +make -C menuselect dummies |