diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-01-09 20:37:04 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-01-09 20:37:04 +0000 |
commit | 94efc5f49643bdb402e45a64bc595e54e751e23c (patch) | |
tree | b135f0c6e3172b11e5a99482acd30548e959f975 /build_tools | |
parent | 942bf94cc5211fa5625ad894d0387bc1fc24d770 (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-x | build_tools/live_dahdi | 6 |
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) |