浏览代码

winGRASS: wrong file permissions for grassXY.py on Windows (https://trac.osgeo.org/grass/ticket/2290)

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

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

@@ -891,7 +891,8 @@ Section "GRASS" SecGRASS
 	Push 'config_projshare = "/c/OSGeo4W/share/proj"' ; string that a line must begin with *WS Sensitive*
 	Push 'config_projshare = "/c/OSGeo4W/share/proj"' ; string that a line must begin with *WS Sensitive*
 	Push 'config_projshare = "$INSTDIR\share\proj"' ; string to replace whole line with
 	Push 'config_projshare = "$INSTDIR\share\proj"' ; string to replace whole line with
 	Call ReplaceLineStr
 	Call ReplaceLineStr
-                 
+
+        AccessControl::SetOnFile "$INSTDIR\etc\grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@.py" "(BU)" "Execute"                 
 SectionEnd
 SectionEnd
 
 
 ;--------------------------------------------------------------------------
 ;--------------------------------------------------------------------------