]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Don’t fail “Collect testdir” job if there is no testdir to collect
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 6 Jul 2021 18:01:01 +0000 (20:01 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 6 Jul 2021 20:19:44 +0000 (22:19 +0200)
ci/collect-testdir

index 21a3971f91ff13d11ca809a6d2dbbb53f14fed22..fa08bdd22b3e7f9bd022c9cf687df0b7f03a9229 100755 (executable)
@@ -6,7 +6,7 @@ elif [ -d build/testdir ]; then
     testdir=build/testdir
 else
     echo "No testdir found" >&2
-    exit 1
+    exit 0
 fi
 
 tar -caf testdir.tar.xz $testdir