[GRASS-SVN] r70263 - grass-addons/tools/addons
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 5 04:48:50 PST 2017
Author: martinl
Date: 2017-01-05 04:48:50 -0800 (Thu, 05 Jan 2017)
New Revision: 70263
Modified:
grass-addons/tools/addons/compile-xml.sh
grass-addons/tools/addons/compile.sh
Log:
broken links to source code and history in add-ons user manuals (see #3224)
Modified: grass-addons/tools/addons/compile-xml.sh
===================================================================
--- grass-addons/tools/addons/compile-xml.sh 2017-01-05 11:30:58 UTC (rev 70262)
+++ grass-addons/tools/addons/compile-xml.sh 2017-01-05 12:48:50 UTC (rev 70263)
@@ -7,7 +7,7 @@
DEST="$1"
compile() {
- ./compile.sh $1 $2 $3 $4 1
+ ./compile.sh $1 $2 $3 1
}
build_xml() {
@@ -20,8 +20,8 @@
(cd ..; svn up || (svn cleanup && svn up))
# compile AddOns for GRASS 7 and GRASS 6.5
-compile ../../grass7 ~/src/grass72_release/dist.x86_64-pc-linux-gnu /tmp/.grass7/addons 7
-compile ../../grass6 ~/src/grass64_release/dist.x86_64-pc-linux-gnu /tmp/.grass6/addons 6
+compile ../../grass7 ~/src/grass72_release/dist.x86_64-pc-linux-gnu /tmp/.grass7/addons
+compile ../../grass6 ~/src/grass64_release/dist.x86_64-pc-linux-gnu /tmp/.grass6/addons
# create XML file for AddOns
build_xml /tmp/.grass7/addons 7
Modified: grass-addons/tools/addons/compile.sh
===================================================================
--- grass-addons/tools/addons/compile.sh 2017-01-05 11:30:58 UTC (rev 70262)
+++ grass-addons/tools/addons/compile.sh 2017-01-05 12:48:50 UTC (rev 70263)
@@ -11,14 +11,14 @@
SVN_PATH="$1"
TOPDIR="$2"
ADDON_PATH="$3"
-GRASS_VERSION="$4"
+GRASS_VERSION=`echo -n ${SVN_PATH} | tail -c 1`
INDEX_FILE="index"
if [ ! -d "$3" ] ; then
mkdir -p "$3"
fi
-if [ -n "$5" ] ; then
+if [ -n "$4" ] ; then
SEP=1 # useful for collecting files (see build-xml.py)
else
SEP=0
More information about the grass-commit
mailing list