[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lh_binary_syslinux syntax error (+patch)



hi,

a bug, introduced I guess by live-helper's commit
1c412f1727f0269bb07d00a79343e9f9463dd9f6, prevents my ISO images to
be built. Seems like an obvious shell scripting error. Patch attached
fixes it.

bye,
-- 
  intrigeri <intrigeri@boum.org>
  | gnupg key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | If you must label the absolute, use it's proper name: Temporary.

>From 8f24cdac6cc540ac481d4552fc8b1b3ac05e3674 Mon Sep 17 00:00:00 2001
From: intrigeri <intrigeri@boum.org>
Date: Sun, 15 Mar 2009 02:43:17 +0100
Subject: [PATCH] lh_binary_syslinux: fixed sh syntax error

Signed-off-by: intrigeri <intrigeri@boum.org>
---
 helpers/lh_binary_syslinux |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 94fae10..d3a226d 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -195,7 +195,7 @@ Copy_syslinux_templates ()
 	then
 		cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* ${SCREEN_PATH}
 	else
-		if [ -d "${TEMPLATES}"/en/* ]
+		if [ -d "${TEMPLATES}"/en/ ]
 		then
 			cp -r "${TEMPLATES}"/en/* ${SCREEN_PATH}
 		fi
-- 
1.5.6.5


Reply to: