sbsv2/raptor/group/exports.sh
author Richard Taylor <richard.i.taylor@nokia.com>
Mon, 21 Dec 2009 16:23:31 +0000
branchfix
changeset 49 ea484543efd9
parent 3 e1eecf4d390d
permissions -rwxr-xr-x
Release note: sf bug 107: invalid XML output when a zip file is missing

#!/bin/bash

# script to generate exports for this component

# copy ../* to /tools/sbs

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

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