[GRASS-SVN] r50767 - grass-addons/tools/wingrass-packager

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 11 15:28:23 EST 2012


Author: martinl
Date: 2012-02-11 12:28:23 -0800 (Sat, 11 Feb 2012)
New Revision: 50767

Modified:
   grass-addons/tools/wingrass-packager/grass_packager.bat
   grass-addons/tools/wingrass-packager/grass_svn_info.sh
Log:
wingrass: promote logs

Modified: grass-addons/tools/wingrass-packager/grass_packager.bat
===================================================================
--- grass-addons/tools/wingrass-packager/grass_packager.bat	2012-02-11 19:56:41 UTC (rev 50766)
+++ grass-addons/tools/wingrass-packager/grass_packager.bat	2012-02-11 20:28:23 UTC (rev 50767)
@@ -44,10 +44,15 @@
 
 pscp.exe -i    .\ssh\id_dsa.ppk .\grass64\WinGRASS*.exe* landa at geo102:/work/wingrass/grass64
 pscp.exe -i    .\ssh\id_dsa.ppk .\grass64\grass*.tar.bz2 landa at geo102:/work/wingrass/grass64/osgeo4w
+pscp.exe -r -i .\ssh\id_dsa.ppk .\grass64\log-r*         landa at geo102:/work/wingrass/grass64/logs/
+
 pscp.exe -i    .\ssh\id_dsa.ppk .\grass65\WinGRASS*.exe* landa at geo102:/work/wingrass/grass65
 pscp.exe -i    .\ssh\id_dsa.ppk .\grass65\grass*.tar.bz2 landa at geo102:/work/wingrass/grass65/osgeo4w
+pscp.exe -r -i .\ssh\id_dsa.ppk .\grass65\log-r*         landa at geo102:/work/wingrass/grass65/logs
+
 pscp.exe -i    .\ssh\id_dsa.ppk .\grass70\WinGRASS*.exe* landa at geo102:/work/wingrass/grass70
 pscp.exe -i    .\ssh\id_dsa.ppk .\grass70\grass*.tar.bz2 landa at geo102:/work/wingrass/grass70/osgeo4w
+pscp.exe -r -i .\ssh\id_dsa.ppk .\grass70\log-r*         landa at geo102:/work/wingrass/grass70/logs/
 
 pscp.exe -r -i .\ssh\id_dsa.ppk .\grass64\addons\*.zip .\grass64\addons\*.md5sum landa at geo102:/work/wingrass/grass64/addons
 pscp.exe -r -i .\ssh\id_dsa.ppk .\grass64\addons\logs                            landa at geo102:/work/wingrass/grass64/addons

Modified: grass-addons/tools/wingrass-packager/grass_svn_info.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_svn_info.sh	2012-02-11 19:56:41 UTC (rev 50766)
+++ grass-addons/tools/wingrass-packager/grass_svn_info.sh	2012-02-11 20:28:23 UTC (rev 50767)
@@ -27,8 +27,18 @@
 	-e "s/VERSION_NUMBER \".*\"/VERSION_NUMBER \"$VERSION\"/g" \
 	-e "s/GRASS_BASE \"GRASS .*\"/GRASS_BASE \"GRASS $VERSION\"/g" $HOME/$2/GRASS-Installer.nsi > tmp
     mv tmp $HOME/$2/GRASS-Installer.nsi
+
+    create_log $SRC/$1 $2 $REV $NUM
 }
 
+function create_log {
+    cd $HOME/$2
+    LOG_DIR=log-r$3-$4
+    mkdir -p $LOG_DIR
+    cp osgeo4w/package.log $LOG_DIR/
+    cp $1/error.log $LOG_DIR/
+}
+
 export PATH=$PATH:/c/OSGeo4W/apps/msys/bin
 
 update grass64_release grass64



More information about the grass-commit mailing list