diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2012-01-10 14:44:42 +0100 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2012-01-10 21:54:58 +0100 |
commit | dbe6a82bc031ecc8d9ba4230350bdd6277f905f6 (patch) | |
tree | f11ae59e0df08c1c9420d90243146e8223ae4988 /scripts/build/lb_binary_tar | |
parent | 65f256f8938e5a5832796a95401e5d2338b85292 (diff) | |
download | vyos-live-build-dbe6a82bc031ecc8d9ba4230350bdd6277f905f6.tar.gz vyos-live-build-dbe6a82bc031ecc8d9ba4230350bdd6277f905f6.zip |
Make lb_chroot_hooks work with dash.
Apparently, dash doesn't expand shell patterns within a quoted string,
whereas bash does. We can't remove the quoting entirely, though, since
that would cause problems when $LB_BASE or $_HOOK contains spaces (note
that $_HOOK can probably never contain spaces, but let's handle it just
in case). Only quoting the expansion of $LB_BASE and $_HOOK, but not the
shell pattern should make the hooks work with both bash and dash again.
Diffstat (limited to 'scripts/build/lb_binary_tar')
0 files changed, 0 insertions, 0 deletions