Damjan Marion | ad476c7 | 2016-07-13 13:42:33 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | rm -f $2 |
| 4 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 5 | for i in ${1}/{plugins,vpp}/lib64/vpp_plugins/*.so; do |
Damjan Marion | ad476c7 | 2016-07-13 13:42:33 +0200 | [diff] [blame] | 6 | echo ../${i} /usr/lib/vpp_plugins >> ${2} |
| 7 | done |
| 8 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 9 | for i in ${1}/{plugins,vpp}/lib64/vpp_api_test_plugins/*.so; do |
Damjan Marion | ad476c7 | 2016-07-13 13:42:33 +0200 | [diff] [blame] | 10 | echo ../${i} /usr/lib/vpp_api_test_plugins >> ${2} |
| 11 | done |
Ole Troan | f14e3bf | 2016-12-01 21:49:03 +0100 | [diff] [blame] | 12 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 13 | for i in $(find ${1}/plugins ${1}/vpp/share/vpp/api/plugins/ -name *.api.json -type f -print); do |
Ole Troan | f14e3bf | 2016-12-01 21:49:03 +0100 | [diff] [blame] | 14 | echo ../${i} /usr/share/vpp/api/ >> ${2} |
| 15 | done |