This is not a bug.  "local" is a bash-specific feature which is not
defined in the POSIX standard for sh (the POSIX shell).

If you want to run scripts that require bash-specific features, then you
should change them to use #!/bin/bash at the top; by using #!/bin/sh you
are agreeing that your shell script uses POSIX-compliant features only
and will run with a POSIX standard shell.

Cheers!

-- 
dash 0.5.3-5ubuntu2 variable expansion error using local
https://bugs.launchpad.net/bugs/139097
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to