Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Imported Upstream version 17.05
[deb_dpdk.git]
/
buildtools
/
relpath.sh
diff --git
a/scripts/relpath.sh
b/buildtools/relpath.sh
similarity index 98%
rename from
scripts/relpath.sh
rename to
buildtools/relpath.sh
index
4ff4671
..
139b781
100755
(executable)
--- a/
scripts/relpath.sh
+++ b/
buildtools/relpath.sh
@@
-44,7
+44,7
@@
if [ $# -ne 2 ]; then
fi
# get the real absolute path, derefencing symlinks
-ABS1=
$(readlink -f $1)
+ABS1=
"$(dirname $(readlink -f $1))/$(basename $1)"
ABS2=$(readlink -f $2)
# remove leading slash