fix realpath missing symlinks

pull/5/head
Tomas M 2012-09-03 19:48:04 +02:00
parent cd203b1d74
commit d3ccf91ddc
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ copy_including_deps()
if [ -L "$1" ]; then
DIR="$(dirname "$1")"
LNK="$(readlink "$1")"
copy_including_deps "$(cd "$DIR"; realpath "$LNK")"
copy_including_deps "$(cd "$DIR"; realpath -s "$LNK")"
fi
ldd "$1" 2>/dev/null | sed -r "s/.*=>|[(].*//g" | sed -r "s/^\\s+|\\s+\$//" \