Unexpected unbound variable


#1

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.

https://travis-ci.com/Magicloud/al-hl/builds/103013899

/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.


#2

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


#3

For the curious: it comes from the bash functions.


which may or may not be bound.