chiark
/
gitweb
/
~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vim: Use sensible.vim as system vimrc
[termux-packages]
/
scripts
/
buildorder.py
diff --git
a/scripts/buildorder.py
b/scripts/buildorder.py
index 67f53074fbdaf983fcbc5e32b0293aff68b04a2f..fd7b2a640801d4d663415570ae491f1408199c7e 100755
(executable)
--- a/
scripts/buildorder.py
+++ b/
scripts/buildorder.py
@@
-40,7
+40,7
@@
class TermuxBuildFile(object):
pkg_dep_prefix = 'TERMUX_PKG_DEPENDS='
subpkg_dep_prefix = 'TERMUX_SUBPKG_DEPENDS='
pkg_dep_prefix = 'TERMUX_PKG_DEPENDS='
subpkg_dep_prefix = 'TERMUX_SUBPKG_DEPENDS='
- with open(self.path) as f:
+ with open(self.path
, encoding="utf-8"
) as f:
prefix = None
for line in f:
if line.startswith(pkg_dep_prefix):
prefix = None
for line in f:
if line.startswith(pkg_dep_prefix):