From 74f07ae70eaa9d1a2a790f868baef5d401b15042 Mon Sep 17 00:00:00 2001
From: Hans-Christoph Steiner <eighthave@users.sourceforge.net>
Date: Sun, 23 Sep 2012 18:37:31 +0000
Subject: more attempts add getting svn:externals replacement to work smoothly

svn path=/trunk/; revision=16273
---
 scripts/auto-build/auto-build-common | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'scripts/auto-build')

diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common
index 4af85710..3ae16871 100644
--- a/scripts/auto-build/auto-build-common
+++ b/scripts/auto-build/auto-build-common
@@ -94,11 +94,11 @@ find_git()
 find_svn()
 {
     if [ -x /sw/bin/svn ]; then
-        echo /sw/bin/svn
+        echo /sw/bin/svn --non-interactive
     elif [ -x /usr/bin/svn ]; then
-        echo /usr/bin/svn
+        echo /usr/bin/svn --non-interactive
     else
-        echo svn
+        echo svn --non-interactive
     fi
 }
 
@@ -111,6 +111,7 @@ remove_dead_svn_externals()
         if [ -z "$(echo $svn_externals | grep $name)" ]; then
             echo "Removing defunct svn:external '$name' at '$external'"
             echo rm -rf "$external"
+            $svn update "$external"
         fi
     done
 }
-- 
cgit v1.2.1