mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-24 06:15:46 +00:00
git-clone don't fail when cleandir has failed
when trying to cleandir, there could be some non owner files in there (ie: lost+found) let's not fail when failed to clean. Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
This commit is contained in:
parent
baf796b714
commit
81bf7dc561
@ -213,7 +213,7 @@ spec:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [ "${PARAM_DELETE_EXISTING}" = "true" ] ; then
|
if [ "${PARAM_DELETE_EXISTING}" = "true" ] ; then
|
||||||
cleandir
|
cleandir || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -z "${PARAM_HTTP_PROXY}" || export HTTP_PROXY="${PARAM_HTTP_PROXY}"
|
test -z "${PARAM_HTTP_PROXY}" || export HTTP_PROXY="${PARAM_HTTP_PROXY}"
|
||||||
|
Loading…
Reference in New Issue
Block a user