mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects.py: Assume build.libname = none for missing projects.conf
projects.conf is only installed with devel packages. If no such thing is created or installed, depending packages assume that libname = packagename, which is wrong. This patch fixes that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
ba314df490
commit
6ddbcfc932
1 changed files with 4 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ def read_value(path, section, key):
|
|||
try:
|
||||
file = open(path)
|
||||
except:
|
||||
debug(path, "not found")
|
||||
# TODO: handle this special case cleaner somewhere up the stack
|
||||
if section == 'build' and key == 'libname':
|
||||
return 'none'
|
||||
return None
|
||||
r = []
|
||||
if not len(section):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue