From 53e88f96c6db71bf70942842c77e5202283b9d81 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 9 Dec 2011 13:09:32 -0500 Subject: ensure MODULEDIR is declared with a trailing slash This forces bash tests as well as utilities like find to dereference MODULEDIR in the odd case that it's a symlink. Addresses FS#27494 Signed-off-by: Dave Reisner --- mkinitcpio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkinitcpio b/mkinitcpio index 4411ff3..475b197 100755 --- a/mkinitcpio +++ b/mkinitcpio @@ -269,7 +269,7 @@ if [[ ! -f "$CONFIG" ]]; then fi . "$CONFIG" -MODULEDIR=$BASEDIR/lib/modules/$KERNELVERSION +MODULEDIR=$BASEDIR/lib/modules/$KERNELVERSION/ if [[ ! -d $MODULEDIR ]]; then die "'$MODULEDIR' is not a valid kernel module directory" fi -- cgit v1.2.3-24-g4f1b