Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
10782f4c
Commit
10782f4c
authored
Sep 21, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
{android,win32}/build.py: use makedirs(exist_ok)
parent
2a02576d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
build.py
android/build.py
+1
-4
build.py
win32/build.py
+1
-4
No files found.
android/build.py
View file @
10782f4c
...
...
@@ -140,10 +140,7 @@ class AndroidNdkToolchain:
# default one on the build host
import
shutil
bin_dir
=
os
.
path
.
join
(
install_prefix
,
'bin'
)
try
:
os
.
makedirs
(
bin_dir
)
except
:
pass
os
.
makedirs
(
bin_dir
,
exist_ok
=
True
)
self
.
pkg_config
=
shutil
.
copy
(
os
.
path
.
join
(
mpd_path
,
'build'
,
'pkg-config.sh'
),
os
.
path
.
join
(
bin_dir
,
'pkg-config'
))
self
.
env
[
'PKG_CONFIG'
]
=
self
.
pkg_config
...
...
win32/build.py
View file @
10782f4c
...
...
@@ -83,10 +83,7 @@ class CrossGccToolchain:
# default one on the build host
import
shutil
bin_dir
=
os
.
path
.
join
(
install_prefix
,
'bin'
)
try
:
os
.
makedirs
(
bin_dir
)
except
:
pass
os
.
makedirs
(
bin_dir
,
exist_ok
=
True
)
self
.
pkg_config
=
shutil
.
copy
(
os
.
path
.
join
(
mpd_path
,
'build'
,
'pkg-config.sh'
),
os
.
path
.
join
(
bin_dir
,
'pkg-config'
))
self
.
env
[
'PKG_CONFIG'
]
=
self
.
pkg_config
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment