6 (cd $1/dpdk/include; tar cfh - . | (cd ../../../dpdk-includes; tar xf -))
8 # If CDPATH is set, the "Change Directory" builtin (cd) will output the
9 # destination directory when a relative path is passed as an argument.
10 # In this case, this has the negative side effect of polluting the "paths"
11 # variable with the destination directory, breaking the package generation.
13 # Patient: Doctor! Doctor! It hurts when I do this...
14 # Doctor: Don't do that!
17 paths=`cd dpdk-includes; find . -type f -print`
23 if [ $dir = "." ] ; then
24 echo ../dpdk-includes/$path /usr/include/vpp-dpdk >> $2
26 echo ../dpdk-includes/$path /usr/include/vpp-dpdk/$dir >> $2