浏览代码

another attempt at getting rid of .svn in demolocation on wingrass (https://trac.osgeo.org/grass/ticket/1946, merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56108 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 12 年之前
父节点
当前提交
4ad39d2dee
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      mswindows/GRASS-Installer.nsi.tmpl

+ 8 - 2
mswindows/GRASS-Installer.nsi.tmpl

@@ -584,8 +584,14 @@ Section "GRASS" SecGRASS
 	
 	;Install demolocation into the GIS_DATABASE directory
 	SetOutPath "$GIS_DATABASE\demolocation"
-	File /r ${DEMOLOCATION_PATH}\*.*
-	
+	File /r "$DEMOLOCATION_PATH"\*.*
+	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"
+
 	;add msys.bat into the INSTALL_DIR\msys directory
 	SetOutPath "$INSTALL_DIR\msys"
 	File /r ${MSYS_BATCH}