sbsv2/raptor/group/exports.sh
author jjkang
Fri, 25 Jun 2010 17:29:25 +0800
changeset 599 fa7a3cc6effd
parent 0 044383f39525
child 3 e1eecf4d390d
permissions -rwxr-xr-x
Add sbsv1 to new structure

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