Fix error when location dir doesn't exist beforehand
Introduced in parent commit.
This commit is contained in:
parent
5ba64a4379
commit
5df72f9631
@ -1798,8 +1798,8 @@ def main(argv=None):
|
|||||||
|
|
||||||
identifiers = get_installed_identifiers()
|
identifiers = get_installed_identifiers()
|
||||||
|
|
||||||
if not os.path.exists(opts.location):
|
if not os.path.exists(os.path.join(opts.location, "bin")):
|
||||||
os.makedirs(opts.location)
|
os.makedirs(os.path.join(opts.location, "bin"))
|
||||||
|
|
||||||
write_activation_scripts()
|
write_activation_scripts()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user