xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 16 Sep 2011 11:36:16 +0200
branchfirefox6
changeset 328 f72845854bff
parent 317 5d9ea1c5e50e
permissions -rw-r--r--
Missed removal of Makefile handling of kde.js (bnc#718311)

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