summaryrefslogtreecommitdiffstats
path: root/build-root/scripts/find-python-api-contents
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/scripts/find-python-api-contents')
-rwxr-xr-xbuild-root/scripts/find-python-api-contents8
1 files changed, 8 insertions, 0 deletions
diff --git a/build-root/scripts/find-python-api-contents b/build-root/scripts/find-python-api-contents
new file mode 100755
index 00000000000..9b390e75849
--- /dev/null
+++ b/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
+