syslinux: fix module detection otherwise it won't be copied

This commit is contained in:
Otavio Salvador 2007-10-02 15:00:34 -03:00 committed by Daniel Baumann
parent 0ae32ca1b9
commit 66aee6f077
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ case "${LH_BINARY_IMAGES}" in
# Copying menu module
if [ "${LH_SYSLINUX_MENU}" != "disabled" ]
then
MENUPATH="$(grep 'menu.c32' binary/isolinux/header.cfg | sed 's,DEFAULT\s*\(.*menu.c32\)$,\1,g')"
MENUPATH="$(grep 'menu.c32' binary/isolinux/header.cfg | sed 's,default\s*\(.*menu.c32\)$,\1,g')"
MENUMODULE="$(basename ${MENUPATH})"
mkdir -p binary/isolinux/"$(dirname ${MENUPATH})"