Sample plugin moved to .../plugins/sample-plugin

Change-Id: I6de20c9883d6918899c4b5b03e900814961e824d
Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
Dave Barach
2016-06-03 15:27:05 -04:00
parent 227fe26987
commit 2b54e996d4

View File

@@ -16,16 +16,16 @@ do
done
# sample plugin
paths=`(cd ..; find sample-plugin -type f -print | grep -v autom4te)`
paths=`(cd ..; find plugins/sample-plugin -type f -print | grep -v autom4te)`
for path in $paths
do
relpath=`echo $path | sed -e 's:.*/sample-plugin/::'`
relpath=`echo $path | sed -e 's:.*plugins/::'`
dir=`dirname $relpath`
if [ $dir = "sample-plugin" ] ; then
echo ../../$path /usr/share/doc/vpp/examples/sample-plugin >> $2
echo ../../$path /usr/share/doc/vpp/examples/plugins/sample-plugin >> $2
else
echo ../../$path \
/usr/share/doc/vpp/examples/$dir >> $2
/usr/share/doc/vpp/examples/plugins/$dir >> $2
fi
done