Skip to content

Avoid bash's variable unbound error #32

merged 1 commit into from May 9, 2012

2 participants

coolluck commented May 9, 2012

When I use bash's option nounset (It can be enable by "set -o nounset"),
running commands of scm_breeze get errors like below.
"-bash: e4: unbound variable"
"-bash: scmbDebug: unbound variable"

I just avoid from error situation by make variable empty if specific variable unset.

If you think proper solution for this error situation. please notice me.
thank you.


OK, I think this is a good solution for now. I'm not too worried that variables will no longer be unset.

@ndbroadbent ndbroadbent merged commit b48ea28 into ndbroadbent:master May 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.