[GRASS-SVN] r55550 - grass-addons/tools/addons
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 27 04:10:08 PDT 2013
Author: martinl
Date: 2013-03-27 04:10:08 -0700 (Wed, 27 Mar 2013)
New Revision: 55550
Modified:
grass-addons/tools/addons/grass-addons.sh
Log:
update grass-addons script, don't use Path: .
URL: https://svn.osgeo.org/grass/grass-addons/tools
Repository Root: https://svn.osgeo.org/grass
Repository UUID: 15284696-431f-4ddb-bdfa-cd5b030d7da7
Revision: 55549
Node Kind: directory
Schedule: normal
Last Changed Author: martinl
Last Changed Rev: 55340
Last Changed Date: 2013-03-12 13:29:38 -0700 (Tue, 12 Mar 2013)
Modified: grass-addons/tools/addons/grass-addons.sh
===================================================================
--- grass-addons/tools/addons/grass-addons.sh 2013-03-27 10:56:24 UTC (rev 55549)
+++ grass-addons/tools/addons/grass-addons.sh 2013-03-27 11:10:08 UTC (rev 55550)
@@ -6,11 +6,13 @@
build_addons() {
cd $DIR/grass-addons/
-revl=`svn info | grep 'Revision' | cut -d':' -f2 | tr -d ' '`
-revr=`svn info -rHEAD | grep 'Revision' | cut -d':' -f2 | tr -d ' '`
+##revl=`svn info | grep 'Revision' | cut -d':' -f2 | tr -d ' '`
+##revr=`svn info -rHEAD | grep 'Revision' | cut -d':' -f2 | tr -d ' '`
+nup=`(svn up || (svn cleanup && svn up)) | wc -l`
-if [ "$revl" != "$revr" ] || [ "$1" = "f" ] ; then
- svn up || (svn cleanup && svn up)
+###if [ "$revl" != "$revr" ] || [ "$1" = "f" ] ; then
+if [ "$nup" -ne 1 ] || [ "$1" = "f" ] ; then
+ ###svn up || (svn cleanup && svn up)
cd tools/addons/
./compile-xml.sh
More information about the grass-commit
mailing list