diff options
author | ng0 <ng0@n0.is> | 2019-10-04 16:03:49 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-10-04 16:03:49 +0000 |
commit | a3e35cc35c5834cd04a826de6d82b447d8be9152 (patch) | |
tree | c7df484195b8d59f20df2396506852b86b2c23a4 | |
parent | 63f01ec1ac63874de876fda09ff3d17b86a36cde (diff) | |
download | build-common-a3e35cc35c5834cd04a826de6d82b447d8be9152.tar.gz build-common-a3e35cc35c5834cd04a826de6d82b447d8be9152.tar.bz2 build-common-a3e35cc35c5834cd04a826de6d82b447d8be9152.zip |
fix reference before assignment
-rw-r--r-- | configure.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.py b/configure.py index a7a2be9..b21c292 100644 --- a/configure.py +++ b/configure.py @@ -76,12 +76,21 @@ def _tool_posix(): tool_find = _existence('find') if tool_find is None: msg_find = 'prerequiste find(1) not found.' + else: + msg_find = '' + tool_xargs = _existence('xargs') if tool_xargs is None: msg_xargs = 'prerequiste xargs(1) not found.' + else: + msg_xargs = '' + tool_msgmerge = _existence('msgmerge') if tool_msgmerge is None: msg_msgmerge = 'prerequiste msgmerge(1) not found.' + else: + msg_msgmerge = '' + return [msg_find, msg_xargs, msg_msgmerge] |