mirror of
https://github.com/munki/munki.git
synced 2026-02-09 00:30:23 -06:00
Address #767 -- makecatalogs and iconimporter called with relative paths to repo (and also ~ expansion)
This commit is contained in:
@@ -109,7 +109,8 @@ def get_version():
|
||||
|
||||
def path2url(path):
|
||||
'''Converts a path to a file: url'''
|
||||
return urlparse.urljoin('file:', urllib.pathname2url(path))
|
||||
return urlparse.urljoin('file:', urllib.pathname2url(
|
||||
os.path.abspath(os.path.expanduser(path))))
|
||||
|
||||
|
||||
def print_utf8(text):
|
||||
|
||||
Reference in New Issue
Block a user