diff --git a/plugins/pck-update.in b/plugins/pck-update.in index 72ce928..6c25a03 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -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 $"\