summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-09 20:37:04 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-09 20:37:04 +0000
commit7d1e606f63ae5ce4c4932f3d65e18adf519b9aee (patch)
treeb135f0c6e3172b11e5a99482acd30548e959f975 /build_tools
parentf396684bc0add51e83c3dbc89f99cd210f0dd31d (diff)
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
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/live_dahdi6
1 files changed, 4 insertions, 2 deletions
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)