tokiclover / mkinitramfs-ll

Lightweight, modular and powerfull initramfs generating tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syntax error when sourcing functions

simonbuehler opened this issue · comments

hi,

/bin/sh doesn't like the new syntax in functions, only bash can interpret

function arg()
{
}

, sh only

arg(){
}

lets if reverting is possible.

clearly, a few commits can be reverted... now i do not have my gentoo box. if you can help sending pull requests to avoid necessary noises... it could help. lets see if github can help. otherwise, this should wait for now.

the following commits will be reverted as soon as possible:

7a9d1fe
b601b48
dd17c24

those commits introduce the new function definition in init, functions and zfs.

i pushed the latest commit 9bf70f1 for zam because it was necessary to preserve a fix.

one last thing: i will push a tag afterwards.