aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2008-03-22 01:44:36 -0400
committerLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2008-03-22 01:44:36 -0400
commitfe0f268dc25988aab930918858d94400f434c33a (patch)
treecb2e354cb8806cf4e9e7d8e39e6f7e4ae1b5b099
parent7a954758bd41b3adcb564cb2c3a859aed6250d98 (diff)
downloadcompat-wireless-2.6-old-fe0f268dc25988aab930918858d94400f434c33a.tar.gz
Don't assume that /sbin is in PATH when calling depmod
Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 665b826..2bac6b1 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ install: uninstall modules
echo Running athenable ath5k...;\
/usr/sbin/athenable ath5k ;\
fi
- @depmod -ae
+ @/sbin/depmod -ae
@echo
@echo "Currently detected wireless subsystem modules:"
@echo
@@ -126,7 +126,7 @@ uninstall:
@# Lets only remove the stuff we are sure we are providing
@# on the misc directory.
@rm -f $(KLIB)/$(KMODDIR)/drivers/misc/eeprom_93cx6.ko
- @depmod -ae
+ @/sbin/depmod -ae
@if [ -x /usr/sbin/athenable ]; then /usr/sbin/athenable madwifi; fi
@if [ -x /usr/sbin/b43enable ]; then /usr/sbin/b43enable bcm43xx; fi
@echo