From 74f7986e692305050019cca2c9c74868782e98e9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 20 Oct 2009 16:16:01 +0200 Subject: Respecting (possibly) customized LH_SYSLINUX_CFG when autodecting syslinux menu module (Closes: #533846). --- helpers/lh_binary_syslinux | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index c9f7b5ce6..6a064adcc 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -193,7 +193,9 @@ Copy_syslinux_templates () ;; *) - MENUMODULE=$(grep 'menu.c32' ${TEMPLATES}/menu/syslinux.cfg | sed 's|default\s*.*/\(.*menu.c32\)$|\1|g') + LH_SYSLINUX_CFG="${LH_SYSLINUX_CFG:-${TEMPLATES}/menu/syslinux.cfg}" + + MENUMODULE=$(grep 'menu.c32' ${LH_SYSLINUX_CFG} | sed 's|default\s*.*/\(.*menu.c32\)$|\1|g') ;; esac -- cgit v1.2.3