* tools/buildbot/slaves/bb-openbsd/svnclean.sh: Only run 'svn info' if a
working copy already exists. Should fix spurious failed builds such as
this one:
@@ -34,7 +34,8 @@ svn cleanup ../../unix-build
svn update ../../unix-build
newlastchangedrev="$(svn info --show-item=last-changed-revision ../../unix-build/Makefile.svn)"
(test -h ../GNUmakefile || ln -s ../unix-build/Makefile.svn ../GNUmakefile)
-# always rebuild svn, but only rebuild dependencies if Makefile.svn has changed
+if [ -d .svn ]; then
+ # always rebuild svn, but only rebuild deps if Makefile.svn has changed
url="$(svn info --show-item url)"
branch="${url##*/}"
if [ "$lastchangedrev" != "$newlastchangedrev" ]; then
@@ -42,4 +43,7 @@ if [ "$lastchangedrev" != "$newlastchangedrev" ]; then
else
(cd .. && gmake BRANCH="$branch" svn-reset svn-bindings-reset svn-clean)
fi
+else
+ (cd .. && gmake reset clean)
+fi
rm -f tests.log* fails.log*
