pck-update: ignore comments in test n.5
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
20eefda133
commit
fcb14501ba
@ -695,6 +695,8 @@ missing at least one \`%defattr' directive"
|
||||
local token tokens
|
||||
sed -n '/%build/,/%install/p' $specfile | \
|
||||
while read -a tokens; do
|
||||
# ignore comments
|
||||
[[ "${tokens[0]}" =~ ^\# ]] && continue
|
||||
for token in ${tokens[*]}; do
|
||||
case "$token" in
|
||||
configure|./configure)
|
||||
|
Loading…
Reference in New Issue
Block a user