ci: Don't assume HEAD exists
For some reason the way Prow clones the repo it doesn't exist; the git default of `..` should work though.
This commit is contained in:
parent
9c3864b97e
commit
6fcfaee948
@ -16,8 +16,8 @@ dn=$(dirname $0)
|
||||
# It's very common for people to accidentally change submodules, and having this
|
||||
# requirement is a small hurdle to pass.
|
||||
|
||||
# If passed the commit, use that. Otherwise, just use HEAD.
|
||||
HEAD=${1:-HEAD}
|
||||
# If passed the commit, use that. Otherwise, just use the implicit default.
|
||||
HEAD=${1:-}
|
||||
|
||||
tmpd=$(mktemp -d)
|
||||
touch ${tmpd}/.tmpdir
|
||||
|
Loading…
Reference in New Issue
Block a user