install bash completion into share/bash-completion/completions

This commit is contained in:
Mike Fährmann
2019-11-07 23:23:48 +01:00
parent b0197098e6
commit 4f39d2ae64
5 changed files with 14 additions and 15 deletions

View File

@@ -8,4 +8,6 @@ sys.path.insert(0, os.path.realpath(ROOTDIR))
def path(*segments, join=os.path.join):
return join(ROOTDIR, *segments)
result = join(ROOTDIR, *segments)
os.makedirs(os.path.dirname(result), exist_ok=True)
return result