From 8a5b9225e939dc20d7bcd65af73a47e4f8c88a27 Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Wed, 24 Oct 2007 15:10:42 -0500 Subject: Fixed addon config parsing The check for a comment line wasn't actually working before. Shell quoting ftl. Signed-off-by: Simo Leone --- hooks/archiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/archiso b/hooks/archiso index 86c5885..84c2241 100644 --- a/hooks/archiso +++ b/hooks/archiso @@ -66,7 +66,7 @@ run_hook () msg ":: Mounting addons" while read img mountpoint type; do # check if this line is a comment (starts with #) - [ "${img#'#'}" != "${img}" ] && continue + [ "${img#"#"}" != "${img}" ] && continue if [ "${type}" = "bind" ]; then _mnt_bind ${img} ${mountpoint} -- cgit v1.2.3-70-g09d2