summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_syslinux
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-02 15:00:34 -0300
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commit0375c3576220add8dff61368a3206d489a227f6b (patch)
treee361eb54c0d6e7b53534daf2d9b0fe54bcecafc7 /helpers/lh_binary_syslinux
parent3d7ef5654bb66df5821e0831e9f8e64e62cfcc20 (diff)
downloadvyos-live-build-0375c3576220add8dff61368a3206d489a227f6b.tar.gz
vyos-live-build-0375c3576220add8dff61368a3206d489a227f6b.zip
syslinux: fix module detection otherwise it won't be copied
Diffstat (limited to 'helpers/lh_binary_syslinux')
-rwxr-xr-xhelpers/lh_binary_syslinux2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index b6cb84560..655a424f5 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -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})"