mozilla-xulrunner192/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 12 Aug 2011 12:07:31 +0200
branchmozilla-1.9.2
changeset 300 dff60ff6dfce
parent 278 436c76ab5f25
permissions -rw-r--r--
recognize linux3 as platform for symbolstore.py

#!/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