xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 20 Jan 2017 23:56:59 +0100
changeset 935 9ae2b79d3bb1
parent 325 f5966ab369fb
permissions -rw-r--r--
prepare FF 51 -> 51.0b14

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