summaryrefslogtreecommitdiff
path: root/hooks/archiso
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2007-10-24 15:10:42 -0500
committerSimo Leone <simo@archlinux.org>2007-10-24 15:10:42 -0500
commit8a5b9225e939dc20d7bcd65af73a47e4f8c88a27 (patch)
tree1d00680a90ad7630d47dbb1dfffa9c79627b0544 /hooks/archiso
parent34e1d6b5dc00f174b8e4ef41c46960ccdf2a8a0c (diff)
downloadarchiso32-8a5b9225e939dc20d7bcd65af73a47e4f8c88a27.tar.xz
Fixed addon config parsing
The check for a comment line wasn't actually working before. Shell quoting ftl. Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'hooks/archiso')
-rw-r--r--hooks/archiso2
1 files changed, 1 insertions, 1 deletions
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}