lib/common.sh: unquote local var
This commit is contained in:
parent
c1c3457fbd
commit
41ca40c392
@ -103,7 +103,7 @@ copy_kmod()
|
|||||||
# TODO allow full path to hook
|
# TODO allow full path to hook
|
||||||
copy_hook()
|
copy_hook()
|
||||||
{
|
{
|
||||||
for _dir in "${local+./hook}" /etc/tinyramfs/hook.d /lib/tinyramfs/hook.d; do
|
for _dir in ${local+./hook} /etc/tinyramfs/hook.d /lib/tinyramfs/hook.d; do
|
||||||
_hook="${_dir}/${1}/${1}"
|
_hook="${_dir}/${1}/${1}"
|
||||||
[ -f "$_hook" ] && break
|
[ -f "$_hook" ] && break
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user