Add mfpl.g

This commit is contained in:
Fierelier 2022-12-19 10:43:21 +01:00
parent 98bfb665c3
commit ef4df61d44
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ def docode(st,name = "Unknown"):
glb[distro + "l"].sd = pUp(name)
except Exception:
pass
glb[distro + "l"].g = glb
exec(code,glb)
return glb

View File

@ -10,6 +10,7 @@ The initialization works like this:
Provides the following mfpl.* (local to current script):
* s: The script's full path.
* sd: The script's full directory.
* g: The script's global as a Bunch.
Provides the following mfp.* (global to all scripts):
* s: The main script's full path.