[Pkg-ace-devel] r356 - /branches/pkg-split/debian/look-for-missing.sh

tgg-guest at users.alioth.debian.org tgg-guest at users.alioth.debian.org
Sat Jun 3 08:31:00 UTC 2006


Author: tgg-guest
Date: Sat Jun  3 08:30:59 2006
New Revision: 356

URL: http://svn.debian.org/wsvn/pkg-ace/?sc=1&rev=356
Log:
Add a script helping finding out disparities between install files and debian/control.

Added:
    branches/pkg-split/debian/look-for-missing.sh   (with props)

Added: branches/pkg-split/debian/look-for-missing.sh
URL: http://svn.debian.org/wsvn/pkg-ace/branches/pkg-split/debian/look-for-missing.sh?rev=356&op=file
==============================================================================
--- branches/pkg-split/debian/look-for-missing.sh (added)
+++ branches/pkg-split/debian/look-for-missing.sh Sat Jun  3 08:30:59 2006
@@ -1,0 +1,20 @@
+#!/bin/sh
+
+LIBS_IN_INSTALL=`mktemp` || exit 1
+LIBS_IN_CONTROL=`mktemp` || exit 1
+
+CUT=/usr/bin/cut
+DIFF=/usr/bin/diff
+LS=/bin/ls
+GREP=/bin/grep
+RM=/bin/rm
+SED=/bin/sed
+SORT=/usr/bin/sort
+WD=`dirname $0`
+
+$LS $WD/*.install | $GREP "debian/lib" | $GREP -v -- -dev | $SED -e 's#.*debian/##' -e 's#\.install$##' | $SORT > $LIBS_IN_INSTALL
+$GREP '^Package: lib.*c2a' $WD/control | $CUT -d' ' -f 2 | $SORT > $LIBS_IN_CONTROL
+
+$DIFF -u $LIBS_IN_CONTROL $LIBS_IN_INSTALL
+
+$RM $LIBS_IN_INSTALL $LIBS_IN_CONTROL

Propchange: branches/pkg-split/debian/look-for-missing.sh
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-ace-devel mailing list