Skip to content

Commit

Permalink
baselibs.conf: targetname is a valid keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
DimStar77 committed Feb 24, 2016
1 parent 62c56d3 commit f4bd215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 70-baselibs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ containsElement () {
rpm -q --specfile $DIR_TO_CHECK/*.spec >/dev/null 2>&1 || exit 0

BUILTBINARIES=($(rpm -q --qf "%{name}\n" --specfile $DIR_TO_CHECK/*.spec))
# add 'targettype' as a 'known keyword' to not trip over it
BUILTBINARIES+=('targettype' 'arch')
# add known keywords from baselibs specification
BUILTBINARIES+=('arch' 'targetname' 'targettype')
BASELIBSREF=$(grep -o "^[a-zA-Z0-9.+_-]\+" $DIR_TO_CHECK/baselibs.conf)

RETURN=0
Expand Down

0 comments on commit f4bd215

Please sign in to comment.