#!/bin/sh -efu # # Copyright (c) 2008 Alexey Gladkov <gladkov.alexey@gmail.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. tab="$(printf '\t')" buildroot="${RPM_BUILD_ROOT-}" while IFS="$tab" read -r f t; do [ -n "${f##*/application.ini}" ] || ! egrep -qsi '[^;]*\[(App|Gecko)\]' "$f" || printf '%s\n' "$f" done