xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 23 Sep 2011 13:16:54 +0200
branchfirefox6
changeset 332 15b1945a3bc1
parent 317 5d9ea1c5e50e
permissions -rw-r--r--
install xpt.py correctly

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