diff options
-rwxr-xr-x | mkinitcpio | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -175,10 +175,8 @@ if [ -n "${PRESET}" ]; then fi fi -# append a trailing / if needed -if [ "${BASEDIR}" = "${BASEDIR%/}" ]; then - BASEDIR="${BASEDIR}/" -fi +# remove trailing / from BASEDIR +BASEDIR="${BASEDIR%/}" MODULEDIR="${BASEDIR}/lib/modules/${KERNELVERSION}" |