From 94efc5f49643bdb402e45a64bc595e54e751e23c Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Fri, 9 Jan 2009 20:37:04 +0000 Subject: Fix pathes in live_dahdi (it is run from the base dir by default) Also acknowledge an warning I'm not sure how to fix for now. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5646 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- build_tools/live_dahdi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build_tools') diff --git a/build_tools/live_dahdi b/build_tools/live_dahdi index f2627a1..3b2da7c 100755 --- a/build_tools/live_dahdi +++ b/build_tools/live_dahdi @@ -2,8 +2,8 @@ set -e -LINUX_DIR=${LINUX_DIR:=..} -TOOLS_DIR=${TOOLS_DIR:=`(cd ../../dahdi-tools; pwd)`} +LINUX_DIR=${LINUX_DIR:=.} +TOOLS_DIR=${TOOLS_DIR:=`(cd ../dahdi-tools; pwd)`} DESTDIR=$PWD/live KVERS=${KVERS:-`uname -r`} MODULES_DIR="$DESTDIR/lib/modules/$KVERS/dahdi" @@ -49,6 +49,8 @@ dahdi_drivers() { } # Detect the modules used in the system: +# This may an annoying warning when live_dahdi is run before +# installation. Ignore it for now. for mod in `dahdi_drivers`; do case "$mod" in xpp_usb) -- cgit v1.2.3