[zaptel-commits] trunk r1052 - /trunk/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu May 11 15:48:32 MST 2006


Author: tilghman
Date: Thu May 11 17:48:32 2006
New Revision: 1052

URL: http://svn.digium.com/view/zaptel?rev=1052&view=rev
Log:
Set full path of modprobe, for building when not root

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/zaptel/trunk/Makefile?rev=1052&r1=1051&r2=1052&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Thu May 11 17:48:32 2006
@@ -96,7 +96,7 @@
   endif
   # get the minor version of module-init-tools, since only 3.2.x and above support
   # $CMDLINE_OPTS replacement
-  MODTOOLSVERSION:=$(shell modprobe --version | awk '{print $$3;}' | cut -d . -f2)
+  MODTOOLSVERSION:=$(shell /sbin/modprobe --version | awk '{print $$3;}' | cut -d . -f2)
   ifneq ($(MODTOOLSVERSION),1)
     MODCMDLINE:=\$$CMDLINE_OPTS
   endif



More information about the zaptel-commits mailing list