[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
rpms/xulrunner/devel find-external-requires,NONE,1.1
- From: Christopher Aillon (caillon) <fedora-extras-commits redhat com>
- To: fedora-extras-commits redhat com
- Subject: rpms/xulrunner/devel find-external-requires,NONE,1.1
- Date: Fri, 31 Aug 2007 15:28:42 -0400
Author: caillon
Update of /cvs/extras/rpms/xulrunner/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10079
Added Files:
find-external-requires
Log Message:
Copying over from firefox
--- NEW FILE find-external-requires ---
#!/bin/sh
# Finds requirements provided outside of the current file set
filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"`
provides=`echo $filelist | /usr/lib/rpm/find-provides`
{
for f in $filelist ; do
echo $f | /usr/lib/rpm/find-requires | while read req ; do
found=0
for p in $provides ; do
if [ "$req" = "$p" ]; then
found=1
fi
done
if [ "$found" = "0" ]; then
echo $req
fi
done
done
} | sort -u
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]