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