pck-update: ignore comments in test n.5 for make too

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-01-17 22:08:56 +01:00
parent fcb14501ba
commit 005f5b1082

View File

@ -712,6 +712,8 @@ use rpm macros if possible:"" \`$token' --> \`$rpm_macro_make'" ;;
sed -n '/%install/,/%changelog/p' $specfile | \
while read -a tokens; do
for token in ${tokens[*]}; do
# ignore comments
[[ "${tokens[0]}" =~ ^\# ]] && continue
case "$token" in
make)
[[ "$rpm_macro_make" ]] && notify.warning $"\