mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-18 21:13:56 +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:
|
try:
|
||||||
file = open(path)
|
file = open(path)
|
||||||
except:
|
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
|
return None
|
||||||
r = []
|
r = []
|
||||||
if not len(section):
|
if not len(section):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue