xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sun, 21 Sep 2014 13:19:53 +0200
branchfirefox32
changeset 768 af83869ba02e
parent 325 f5966ab369fb
permissions -rw-r--r--
* 32.0.2 * new build flags to align with upstream * disable-optimize for versions where build breaks otherwise

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