Stop at the first section when parsing project.conf
This commit is contained in:
parent
68cb569320
commit
bc26b29c37
|
@ -176,6 +176,9 @@ _package_guess_name()
|
|||
"version="*)
|
||||
VERSION="${line#version=}"
|
||||
;;
|
||||
"["*)
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done < "$PROJECTCONF"
|
||||
[ -z "$PACKAGE" -o -z "$VERSION" ] && return 2
|
||||
|
|
Loading…
Reference in New Issue
Block a user