Skip to content
Snippets Groups Projects
Commit dedb2627 authored by Denis Pynkin's avatar Denis Pynkin
Browse files

Fix cleanup failure in case of empty repo


In case if arch-dependent directory is absent the cleanup return
error code 1 and stop the build.
This fix allow to proceed further.
Removed unneeded debug commands.

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
parent 4b40750a
No related branches found
No related tags found
1 merge request!12Fix cleanup failure in case of empty repo
......@@ -152,9 +152,7 @@ update_test_repository () {
cleanup_test_repository () {
local ARCH=$1
[ -z "${ARCH}" ] && exit 1
pwd
ls -la .
[ -d "${TEST}/${ARCH}" ] && rm -rf "${TEST}/${ARCH}"
[ -d "${TEST}/${ARCH}" ] && rm -rf "${TEST}/${ARCH}" || :
}
commit_all () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment