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

for i in $(find ${1}/vpp/share/vpp/api/core -name *.api.json -type f -print); do
    echo ../${i} /usr/share/vpp/api/ >> ${2}
done
for i in $(find ${1}/vlib-api -name *.api.json -type f -print); do
    echo ../${i} /usr/share/vpp/api/ >> ${2}
done