[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46497] branches/soc-2011-tomato/extern/ libmv/third_party/ceres/bundle.sh: Tomato: ceres bundling script now works on svn checkout
Sergey Sharybin
sergey.vfx at gmail.com
Thu May 10 13:39:08 CEST 2012
Revision: 46497
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46497
Author: nazgul
Date: 2012-05-10 11:39:08 +0000 (Thu, 10 May 2012)
Log Message:
-----------
Tomato: ceres bundling script now works on svn checkout
Modified Paths:
--------------
branches/soc-2011-tomato/extern/libmv/third_party/ceres/bundle.sh
Modified: branches/soc-2011-tomato/extern/libmv/third_party/ceres/bundle.sh
===================================================================
--- branches/soc-2011-tomato/extern/libmv/third_party/ceres/bundle.sh 2012-05-10 11:37:41 UTC (rev 46496)
+++ branches/soc-2011-tomato/extern/libmv/third_party/ceres/bundle.sh 2012-05-10 11:39:08 UTC (rev 46497)
@@ -1,7 +1,9 @@
#!/bin/sh
-if [ -d ./.svn ]; then
- echo "This script is supposed to work only when using git-svn"
+if [ "x$1" = "x--i-really-know-what-im-doing" ] ; then
+ echo Proceeding as requested by command line ...
+else
+ echo "*** Please run again with --i-really-know-what-im-doing ..."
exit 1
fi
@@ -24,8 +26,8 @@
cat ./patches/$p | patch -d $tmp/ceres -p1
done
-rm -rf include
-rm -rf internal
+find include -type f -not -iwholename '*.svn*' -exec rm -rf {} \;
+find internal -type f -not -iwholename '*.svn*' -exec rm -rf {} \;
cat "files.txt" | while read f; do
mkdir -p `dirname $f`
More information about the Bf-blender-cvs
mailing list