X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=scripts%2Fdepmod.sh;h=3643b4f896eded47c9d8517ffc9585438bd62398;hp=e083bcae343f3e71290e433b7fd50861fd819ca4;hb=cedd1862be7e666be87ec824dabc6a2b05618f36;hpb=de7d83da84bdf0b5ec50b3b09249e608c0e4b81d diff --git a/scripts/depmod.sh b/scripts/depmod.sh index e083bcae343f..3643b4f896ed 100755 --- a/scripts/depmod.sh +++ b/scripts/depmod.sh @@ -15,6 +15,8 @@ if ! test -r System.map ; then exit 0 fi +# legacy behavior: "depmod" in /sbin, no /sbin in PATH +PATH="$PATH:/sbin" if [ -z $(command -v $DEPMOD) ]; then echo "Warning: 'make modules_install' requires $DEPMOD. Please install it." >&2 echo "This is probably in the kmod package." >&2