Author: stsp
Date: Mon May 25 06:54:39 2020
New Revision: 1878093

URL: http://svn.apache.org/viewvc?rev=1878093&view=rev
Log:
Follow-up to r1876670:

Fix another problem where the bb-openbsd cleanup step attempts to run
'svn cleanup' on a working copy that does not exist:

+ test -d ../build/.svn
program finished with exit code 1

https://ci.apache.org/builders/svn-bb-openbsd/builds/544/steps/Cleanup/logs/stdio

* tools/buildbot/slaves/bb-openbsd/svnclean.sh: Don't abort the script if
   the working copy directory does not exist.

Modified:
    subversion/trunk/tools/buildbot/slaves/bb-openbsd/svnclean.sh

Modified: subversion/trunk/tools/buildbot/slaves/bb-openbsd/svnclean.sh
URL: 
http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/bb-openbsd/svnclean.sh?rev=1878093&r1=1878092&r2=1878093&view=diff
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/bb-openbsd/svnclean.sh (original)
+++ subversion/trunk/tools/buildbot/slaves/bb-openbsd/svnclean.sh Mon May 25 
06:54:39 2020
@@ -22,7 +22,9 @@
 set -e
 set -x
 
-(test -d ../build/.svn && svn cleanup ../build)
+if [ -d ../build/.svn ]; then
+  svn cleanup ../build
+fi
 (test -h ../svn-trunk || ln -s build ../svn-trunk)
 for i in $(jot - 6 12); do
   (test -h ../svn-1.${i}.x || ln -s build ../svn-1.${i}.x)


Reply via email to