libdir: allow osbulid to be built from the tree
This was a regression from when osbuild was made into a module. Restore the old behavior. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
b218430bfa
commit
8994e7f803
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ RESET = "\033[0m"
|
|||
BOLD = "\033[1m"
|
||||
|
||||
|
||||
libdir = os.path.dirname(__file__)
|
||||
libdir = os.path.dirname(os.path.dirname(__file__))
|
||||
if not os.path.exists(f"{libdir}/stages"):
|
||||
libdir = f"{sys.prefix}/lib/osbuild"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue