mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-21 05:55:35 +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
|
||||
cleandir
|
||||
cleandir || true
|
||||
fi
|
||||
|
||||
test -z "${PARAM_HTTP_PROXY}" || export HTTP_PROXY="${PARAM_HTTP_PROXY}"
|
||||
|
Loading…
Reference in New Issue
Block a user