Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
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
commitd359005795cf32fe9ce9f24708f41fee47365789 (patch)
tree1e8de6d0216833bdfa9cb02d54be020089745f6c /hooks/archiso
parent0b364adf523770ef7f1349ac7aa6e447438b24c1 (diff)
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}