aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/scripts/find-plugins-contents
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/scripts/find-plugins-contents')
-rwxr-xr-xbuild-root/scripts/find-plugins-contents4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-root/scripts/find-plugins-contents b/build-root/scripts/find-plugins-contents
index 8d1a4d5ae29..a5a52acf337 100755
--- a/build-root/scripts/find-plugins-contents
+++ b/build-root/scripts/find-plugins-contents
@@ -9,3 +9,7 @@ done
for i in ${1}/plugins/lib64/vpp_api_test_plugins/*.so; do
echo ../${i} /usr/lib/vpp_api_test_plugins >> ${2}
done
+
+for i in $(find ${1}/plugins -name *.api.json -type f -print); do
+ echo ../${i} /usr/share/vpp/api/ >> ${2}
+done