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

for i in $(find ${1}/vpp -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