We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bd41fc commit cdf8fa3Copy full SHA for cdf8fa3
python/grass/script/core.py
@@ -238,6 +238,8 @@ def scan(gisbase, directory):
238
search_paths = [gisbase]
239
if env.get("GRASS_ADDON_BASE"):
240
search_paths.append(env["GRASS_ADDON_BASE"])
241
+ if env.get("GRASS_ADDON_PATH"):
242
+ search_paths.extend([p for p in env["GRASS_ADDON_PATH"].split(os.pathsep) if p])
243
244
for base_dir in search_paths:
245
for directory in ("bin", "scripts"):
0 commit comments