summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-03-13 01:36:48 +0100
committerDave Reisner <dreisner@archlinux.org>2013-03-13 01:36:48 +0100
commit1620d26be1e1bec4ef0944be21bac81c1b853dcd (patch)
tree60041c75212e08bd451a2034ef0f19e268aa159f
parent306dcbd7b21f8a680db9c795dc81a7e4276a7c9b (diff)
downloadmkinitcpio-1620d26be1e1bec4ef0944be21bac81c1b853dcd.tar.gz
mkinitcpio-1620d26be1e1bec4ef0944be21bac81c1b853dcd.tar.xz
mkinitcpio: fix reference to bad variable name
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 4df91bc..7c0e64d 100644
--- a/functions
+++ b/functions
@@ -351,7 +351,7 @@ add_module() {
fi
;;
esac
- done < <(modinfo -b "$MODULEROOT" -k "$KERNELVERSION" -0 "$module" 2>/dev/null)
+ done < <(modinfo -b "$_optmoduleroot" -k "$KERNELVERSION" -0 "$module" 2>/dev/null)
if [[ -z $path ]]; then
(( ign_errors )) && return 0