[GRASS-dev] [GRASS GIS] #1946: wingrass: demolocation includes .svn/ cruft
GRASS GIS
trac at osgeo.org
Wed Apr 24 04:52:09 PDT 2013
#1946: wingrass: demolocation includes .svn/ cruft
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: trivial | Milestone: 6.4.3
Component: Packaging | Version: svn-develbranch6
Keywords: wingrass | Platform: MSWindows XP
Cpu: x86-32 |
-----------------------+----------------------------------------------------
Comment(by hamish):
so, IIUC, the packager does a 'svn up' on their machine into a local
C:\osgeo4w dir, then the packaging script recursively copies from within
that checked out source tree?
http://trac.osgeo.org/grass/wiki/CompileOnWindows#CreatetheWinGRASSInstaller
Line 586 of GRASS-Installer.nsi.tmpl has:
{{{
File /r ${DEMOLOCATION_PATH}\*.*
}}}
how to restrict that, or afterwards recursively rm the 6 .svn/ dirs within
it?
or just forget anything fancy and remove them by hand after the copy:
{{{
RMDir /r "$GIS_DATABASE\demolocation/.svn"
RMDir /r "$GIS_DATABASE\demolocation/PERMANENT/.svn"
RMDir /r "$GIS_DATABASE\demolocation/PERMANENT/vector/.svn"
RMDir /r "$GIS_DATABASE\demolocation/PERMANENT/vector/mysites/.svn"
RMDir /r "$GIS_DATABASE\demolocation/PERMANENT/vector/point/.svn"
RMDir /r "$GIS_DATABASE\demolocation/PERMANENT/dbf/.svn"
}}}
http://nsis.sourceforge.net/Delete_files_and_subdirectories
(I think that recursive remove is also needed for the extracted ms VC++
dll dir in Temp/, right now it gets left behind after install)
thanks,
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1946#comment:8>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list