aboutsummaryrefslogtreecommitdiffstats
path: root/vpp/build-root/scripts/find-python-api-contents
diff options
context:
space:
mode:
Diffstat (limited to 'vpp/build-root/scripts/find-python-api-contents')
-rwxr-xr-xvpp/build-root/scripts/find-python-api-contents8
1 files changed, 8 insertions, 0 deletions
diff --git a/vpp/build-root/scripts/find-python-api-contents b/vpp/build-root/scripts/find-python-api-contents
new file mode 100755
index 00000000..9b390e75
--- /dev/null
+++ b/vpp/build-root/scripts/find-python-api-contents
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+rm -f $2
+
+for i in $(find ${1}/vpp-api/lib/python2.7/site-packages/ -type f -print); do
+ echo ../${i} /usr/lib/python2.7/site-packages/vpp_papi >> ${2}
+done
+