summaryrefslogtreecommitdiffstats
path: root/build-root/scripts/find-python-api-contents
blob: 24e8532c6704e8ff9b82c0d0ccf9ffd77661bd2f (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

rm -f $2

for i in $(find ${1}/{vpp,vpp-api}/lib/python2.7/site-packages/ -type f -print); do
    echo ../${i} /usr/lib/python2.7/site-packages/vpp_papi >> ${2}
done