ソースを参照

fix typo in starting script (create new mapset)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45128 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 年 前
コミット
fe3f9fd2a6
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lib/init/grass.py

+ 1 - 1
lib/init/grass.py

@@ -459,7 +459,7 @@ def non_interactive(arg):
 		    if not os.access(os.path.join(os.path.join(gisdbase, location_name, "PERMANENT", "DEFAULT_WIND")), os.F_OK):
 			fatal(_("The location <%s> does not exist. Please create it first.") % location_name)
 		    else:
-			os.mkdirs(location)
+			os.mkdir(location)
 			# copy PERMANENT/DEFAULT_WIND to <mapset>/WIND
 			s = readfile(os.path.join(gisdbase, location_name, "PERMANENT", "DEFAULT_WIND"))
 			writefile(os.path.join(location, "WIND"), s)