Merge pull request #1022 from gaphor/packaging/fix-double-semicolon
Fix parameter is incorrect error with ";;" in path
This commit is contained in:
commit
82ddc00781
@ -29,6 +29,9 @@ def make_gaphor_script():
|
||||
file.write("if os.environ['PATH'][-1] == ';':\n")
|
||||
file.write(" os.environ['PATH'] = os.environ['PATH'][:-1]\n")
|
||||
|
||||
# Check for and remove two semicolons in path
|
||||
file.write("os.environ['PATH'] = os.environ['PATH'].replace(';;', ';')\n")
|
||||
|
||||
plugins = toml["tool"]["poetry"]["plugins"]
|
||||
for cat in plugins.values():
|
||||
for entrypoint in cat.values():
|
||||
|
Loading…
x
Reference in New Issue
Block a user