Avoid bash's variable unbound error #32

Merged
merged 1 commit into from May 9, 2012

Conversation

Projects
None yet
2 participants
@coolluck

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.

@ndbroadbent

This comment has been minimized.

Show comment
Hide comment
@ndbroadbent

ndbroadbent May 9, 2012

Member

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

Member

ndbroadbent commented May 9, 2012

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

ndbroadbent added a commit that referenced this pull request May 9, 2012

Merge pull request #32 from coolluck/master
Avoid bash's variable unbound error

@ndbroadbent ndbroadbent merged commit b48ea28 into scmbreeze:master May 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment