mozilla-xulrunner192/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Wed, 21 Sep 2011 12:18:41 +0200
branchmozilla-1.9.2
changeset 330 1c2c7f8923f1
parent 278 436c76ab5f25
permissions -rw-r--r--
update to 1.9.2.23/3.6.23 sync dialog.xml in mozilla-kde.patch

#!/bin/sh
# Finds requirements provided outside of the current file set

filelist=$( sed "s/[]['\"*?{}]/\\\\\&/g" )
provides=$( echo "$filelist" | /usr/lib/rpm/find-provides )
echo "$filelist" \
    | /usr/lib/rpm/find-requires \
    | grep -F -v "$provides" \
    | sort -u