xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 11 Oct 2014 10:08:50 +0200
branchfirefox32
changeset 772 a56f903306d9
parent 325 f5966ab369fb
permissions -rw-r--r--
minor update

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