MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sun, 22 Jan 2017 17:41:41 +0100
branchfirefox51
changeset 937 1e62a4bc78c1
parent 279 eb9e33036fb4
permissions -rw-r--r--
switch from beta to release channel for 51.0build2

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