From 7a1dcb9b3a13d683e8a88fb9b742ffe10c4f7f58 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 22 Jun 2010 21:47:50 +0300 Subject: A setup script for dahdi-linux Assums octapi exists alongside dahdi-linux --- git-dahdi-linux-howto | 2 +- setup_dahdi-linux | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 setup_dahdi-linux diff --git a/git-dahdi-linux-howto b/git-dahdi-linux-howto index 9080972..1deeecd 100644 --- a/git-dahdi-linux-howto +++ b/git-dahdi-linux-howto @@ -22,6 +22,6 @@ I chose the plain old symlink way: cd .. git svn clone -s http://svn.asterisk.org/svn/octasic_api/oct612x octapi cd dahdi-linux - ln -s ../../../octapi/software driver/dahdi/oct612x + ln -s ../../../octapi/software drivers/dahdi/oct612x (Patches are welcomed) diff --git a/setup_dahdi-linux b/setup_dahdi-linux new file mode 100755 index 0000000..ee5132b --- /dev/null +++ b/setup_dahdi-linux @@ -0,0 +1,15 @@ +#!/bin/sh + +# Extra setup after cloning the DAHDI-tools 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/dahdi-linux_gitignore .gitignore +ln -s ../../../octapi/software drivers/dahdi/oct612x -- cgit v1.2.3