Skip to content

Commit

Permalink
Merge pull request #32 from DimStar77/targetname
Browse files Browse the repository at this point in the history
baselibs.conf: targetname is a valid keyword
  • Loading branch information
bugfinder committed May 31, 2016
2 parents 7be3985 + f4bd215 commit fbfe336
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 @@ -22,8 +22,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 fbfe336

Please sign in to comment.