X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=scripts%2Frelpath.sh;h=4ff4671e937bb44b43c5ef3c1cba782ead2f336e;hb=d76a592782c1291b19f74a8ec29bcbd40b5170cd;hp=7d2f48f9bbabbdf01c1b808fcedf60e55c23668e;hpb=8c0eca54cd56bb670a028a4ada907ec9610e5d9c;p=dpdk.git diff --git a/scripts/relpath.sh b/scripts/relpath.sh index 7d2f48f9bb..4ff4671e93 100755 --- a/scripts/relpath.sh +++ b/scripts/relpath.sh @@ -61,6 +61,8 @@ right2=${REL2#*/} prev_right2=$REL2 prev_left2= +prefix= + while [ "${right1}" != "" -a "${right2}" != "" ]; do if [ "$left1" != "$left2" ]; then