mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Normalise relative paths (e.g. @..)
This commit is contained in:
parent
86c91c8166
commit
173ff21d70
@ -395,6 +395,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||||||
|
|
||||||
if '@' in thisbuild['maven']:
|
if '@' in thisbuild['maven']:
|
||||||
maven_dir = os.path.join(root_dir, thisbuild['maven'].split('@',1)[1])
|
maven_dir = os.path.join(root_dir, thisbuild['maven'].split('@',1)[1])
|
||||||
|
maven_dir = os.path.normpath(maven_dir)
|
||||||
else:
|
else:
|
||||||
maven_dir = root_dir
|
maven_dir = root_dir
|
||||||
|
|
||||||
@ -405,6 +406,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||||||
|
|
||||||
if '@' in thisbuild['gradle']:
|
if '@' in thisbuild['gradle']:
|
||||||
gradle_dir = os.path.join(root_dir, thisbuild['gradle'].split('@',1)[1])
|
gradle_dir = os.path.join(root_dir, thisbuild['gradle'].split('@',1)[1])
|
||||||
|
gradle_dir = os.path.normpath(gradle_dir)
|
||||||
else:
|
else:
|
||||||
gradle_dir = root_dir
|
gradle_dir = root_dir
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user