summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortilghman <tilghman@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-05-11 22:48:32 +0000
committertilghman <tilghman@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-05-11 22:48:32 +0000
commit89b84a74177ec06a18c583a01eb2795a7c3d41af (patch)
tree889b504a47bf24c95d90c7f49df230cf6249b190
parent4325de0504e811ca0a64ceb834ccc16b5ca92615 (diff)
Set full path of modprobe, for building when not root
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1052 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9b1230f..188ad98 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ ifeq ($(BUILDVER),linux26)
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