diff options
author | Akemi <der.richter@gmx.de> | 2018-02-12 19:18:11 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-13 20:31:09 -0800 |
commit | d0afd377096c1e6e2980ebf075a39d1aeb7e7c79 (patch) | |
tree | 253513d1ac92101b370c306f6e8053b481d9bbd9 /sub | |
parent | 8f9785d128eef0eae656d32d664ae1a8bff0bb12 (diff) | |
download | mpv-d0afd377096c1e6e2980ebf075a39d1aeb7e7c79.tar.bz2 mpv-d0afd377096c1e6e2980ebf075a39d1aeb7e7c79.tar.xz |
build: fix swift detection with python2
c82fed8 fixed the detection with python3 but broke it on python2. the
decode function on python2 converts the str to unicode which causes
problems when concatenating to str when building. instead of decoding
the output we change the subprocess to operate in text mode.
also use check_output instead of Popen for simplicity.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions