[svn-commits] tzafrir: linux/trunk r6487 - /linux/trunk/build_tools/live_dahdi

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Apr 25 11:35:36 CDT 2009


Author: tzafrir
Date: Sat Apr 25 11:35:33 2009
New Revision: 6487

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6487
Log:
adapt live_dahdi to current xpp tools

* More varibles to set through the environment
* Different way to list drivers

Modified:
    linux/trunk/build_tools/live_dahdi

Modified: linux/trunk/build_tools/live_dahdi
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/build_tools/live_dahdi?view=diff&rev=6487&r1=6486&r2=6487
==============================================================================
--- linux/trunk/build_tools/live_dahdi (original)
+++ linux/trunk/build_tools/live_dahdi Sat Apr 25 11:35:33 2009
@@ -37,6 +37,12 @@
 FIRMWARE_DIR="$DESTDIR/usr/share/dahdi"
 export FIRMWARE_DIR
 
+ASTRIBANK_TOOL="$DESTDIR/usr/sbin/astribank_tool"
+export ASTRIBANK_TOOL
+
+ASTRIBANK_HEXLOAD="$DESTDIR/usr/sbin/astribank_hexload"
+export ASTRIBANK_HEXLOAD
+
 # make sure Astribank initialization scripts are from our tree.
 xpp_ARGS="$xpp_ARGS initdir=$FIRMWARE_DIR"
 
@@ -44,8 +50,8 @@
 # With the remote mode, I can't rely on files in the source directory.
 dahdi_drivers() {
 	perl -MDahdi::Hardware -e '
-		my $hardware = Dahdi::Hardware->scan;
-		print join(" ", $hardware->drivers);
+		my @drivers = Dahdi::Hardware->drivers;
+		print join(" ", @drivers);
 		'
 }
 




More information about the svn-commits mailing list