[svn-commits] tzafrir: trunk r2727 - in /trunk: README.Linux26 build_tools/genmodconf

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 11 14:50:23 CDT 2007


Author: tzafrir
Date: Wed Jul 11 14:50:22 2007
New Revision: 2727

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2727
Log:
* Remove obsolete and misleading README.Linux26 (from r2725)
* Fix genmodconf: (from r2724)
  * Use shell, rather than shell-in-makefile syntax.
  * Supress ugly text when /lib/modules/`uname -r` doesn't exist
    (but we build for a different kernel)

Removed:
    trunk/README.Linux26
Modified:
    trunk/build_tools/genmodconf

Modified: trunk/build_tools/genmodconf
URL: http://svn.digium.com/view/zaptel/trunk/build_tools/genmodconf?view=diff&rev=2727&r1=2726&r2=2727
==============================================================================
--- trunk/build_tools/genmodconf (original)
+++ trunk/build_tools/genmodconf Wed Jul 11 14:50:22 2007
@@ -42,7 +42,7 @@
 	exit 1
     fi
 elif [ "${1}" = "linux26" ]; then
-    toolver=`/sbin/modprobe --version | awk '{print $$3;}' | cut -d. -f2 | cut -d- -f1`
+    toolver=`/sbin/modprobe --version 2>/dev/null| awk '{print $3}' | cut -d. -f2 | cut -d- -f1`
     if [ ${toolver} -ge 2 ]; then
 	cmdopts=\$CMDLINE_OPTS
     fi




More information about the svn-commits mailing list