sbsv2/raptor/group/exports.sh2
author timothy.murphy@nokia.com
Sun, 17 Jan 2010 20:52:46 +0000
branchwip
changeset 124 e898967975af
parent 3 e1eecf4d390d
permissions -rwxr-xr-x
sbs_filter: Fix so that return code is 0 on success (was always 1) filter_whatcomp: add a test for this

#!/bin/bash

# script to generate exports for this component to compare with the existing exports.inf

# copy ../* to /tools/sbs

find .. -maxdepth 1 -type f -not -name "distribution.policy*" -print | sed 's!\.\.\(.*\)!\.\.\1 /tools/sbs\1!' > exports.inf2

for i in bin examples lib python schema win32/bin; do
    find ../$i -type f -not -name "distribution.policy*" -not -name "*.pyc" -print | sed 's!\.\.\(.*\)!\.\.\1 /tools/sbs\1!' >> exports.inf2
done