zoobab / quickunpkg

quickunpkg, the other friend of gentoo's quickpkg
16 stars 2 forks source link

Failure on system running Bash #1

Open dragon788 opened 7 years ago

dragon788 commented 7 years ago

It complains that "function" command not found. Function was introduced by ksh but not all shells use it, see https://unix.stackexchange.com/a/73854/103652 for reference.

I changed function banner { to banner () { and it was much happier. This is also POSIX compliant so should work on /bin/sh and maybe even /bin/dash or /bin/zsh.

zoobab commented 7 years ago

I made the change.

zoobab commented 6 years ago

Can I close this issue?