summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@qosmos.com>2016-12-20 17:38:31 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-21 10:12:49 +0000
commit11fa895bb9fc8f577a0ad7c7e102c44a78474c3b (patch)
tree3d9b7d63f14e8eaced907667bb25eb5b46502b13
parent7957d6e6f7207fb64ba6a9927c49bc466b70bfc3 (diff)
fix sample-plugin rpm packaging
Change-Id: I0f4d029fe16d1d272c8bbd5c380ba70a646ddb20 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
-rw-r--r--build-root/rpm/vpp.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-root/rpm/vpp.spec b/build-root/rpm/vpp.spec
index ed382349319..194d205fe7e 100644
--- a/build-root/rpm/vpp.spec
+++ b/build-root/rpm/vpp.spec
@@ -160,9 +160,9 @@ done;
# sample plugin
mkdir -p -m755 %{buildroot}/usr/share/doc/vpp/examples/sample-plugin/sample
-for file in $(cd %{_mu_build_dir}/%{_vpp_install_dir}/../../sample-plugin && find -type f -print)
+for file in $(cd %{_mu_build_dir}/%{_vpp_install_dir}/../../plugins/sample-plugin && git ls-files .)
do
- install -p -m 644 %{_mu_build_dir}/%{_vpp_install_dir}/../../sample-plugin/$file \
+ install -p -m 644 %{_mu_build_dir}/%{_vpp_install_dir}/../../plugins/sample-plugin/$file \
%{buildroot}/usr/share/doc/vpp/examples/sample-plugin/$file
done