summaryrefslogtreecommitdiffstats
path: root/mkinitcpio
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-12-31 22:45:09 +0100
committerDave Reisner <dreisner@archlinux.org>2012-01-05 01:08:46 +0100
commit3602a8e80cc1866f2d4215a95d5627163654b2dc (patch)
tree589d29dfcba69ee7b3311487818694c36d6379af /mkinitcpio
parentf8d1749dd9a63befc9fd46198c76a63a2f4b349e (diff)
downloadmkinitcpio-3602a8e80cc1866f2d4215a95d5627163654b2dc.tar.gz
mkinitcpio-3602a8e80cc1866f2d4215a95d5627163654b2dc.tar.xz
mkinitcpio: remove hardcoded paths
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'mkinitcpio')
-rwxr-xr-xmkinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index b6581ed..bcf56e9 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -353,7 +353,7 @@ if (( ${#ADDED_MODULES[*]} )); then
popd >/dev/null
msg "Generating module dependencies"
- /sbin/depmod -b "$BUILDROOT" "${KERNELVERSION}"
+ depmod -b "$BUILDROOT" "${KERNELVERSION}"
rm "$BUILDROOT/lib/modules/$KERNELVERSION"/modules.!(dep.bin|alias.bin|symbols.bin)
else
warning "No modules were added to the image. This is probably not what you want."