浏览代码

fix from Patrick Schirmer, CH

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44449 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 14 年之前
父节点
当前提交
ba4be61ec9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/g.extension/g.extension.py

+ 1 - 1
scripts/g.extension/g.extension.py

@@ -98,7 +98,7 @@ os.mkdir(tmpdir)
 
 def check():
     # check if we have the svn client
-    if not grass.find_program('svn'):
+    if not grass.find_program('svn', ['help']):
         grass.fatal(_('svn client required. Please install subversion first.'))
     # probably test here if we have "make" and "install" programs as well. how about gcc?