Unexpected unbound variable

I have a work flow of using docker to pack something. Just starting it with TravisCI. Then it failed at a place I could not figure out.


/home/travis/.travis/functions: line 107: secure: unbound variable

I do not use such a var in my process. The only one I can see is the one generated by travis cli tool. So where is the problem?

Thanks in advance.

I think I got it. functions, as a shell script, uses unassigned variable in some logic. And I set -u.

1 Like

For the curious: it comes from the bash functions.

which may or may not be bound.

1 Like

Getting same error too: