xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Thu, 08 May 2014 21:16:11 +0200
branchfirefox30
changeset 734 b63304b214e7
parent 325 f5966ab369fb
permissions -rw-r--r--
30.0b2

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