diff options
author | Simo Leone <simo@archlinux.org> | 2007-10-24 15:10:42 -0500 |
---|---|---|
committer | Simo Leone <simo@archlinux.org> | 2007-10-24 15:10:42 -0500 |
commit | 8a5b9225e939dc20d7bcd65af73a47e4f8c88a27 (patch) | |
tree | 1d00680a90ad7630d47dbb1dfffa9c79627b0544 /hooks | |
parent | 34e1d6b5dc00f174b8e4ef41c46960ccdf2a8a0c (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')
-rw-r--r-- | hooks/archiso | 2 |
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} |