Browse Source

grass.py: catch undefined sys_man_path (for AIX 7.1)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56663 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 12 years ago
parent
commit
d3bff33aa3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/init/grass.py

+ 1 - 0
lib/init/grass.py

@@ -348,6 +348,7 @@ def set_paths():
     grass_man_path = os.path.join(gisbase, 'docs', 'man')
     addons_man_path = os.path.join(addon_base, 'docs', 'man')
     man_path = os.getenv('MANPATH')
+    sys_man_path = None
     if man_path:
         path_prepend(addons_man_path, 'MANPATH')
         path_prepend(grass_man_path, 'MANPATH')