Add required -P to pwd

Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
This commit is contained in:
Lucky 2008-04-23 11:19:07 +02:00 committed by Nico Schottelius
parent c60e2870c4
commit de16d9556a

View file

@ -35,7 +35,7 @@ echo "Working on $file ..."
if [ -L "${file}" ]; then if [ -L "${file}" ]; then
echo "Converting ${file} ..." echo "Converting ${file} ..."
dir="$(cd "${file}" && pwd)"; ret=$? dir="$(cd "${file}" && pwd -P)"; ret=$?
if [ $ret -ne 0 ]; then if [ $ret -ne 0 ]; then
echo "ERROR: $file is a broken link" echo "ERROR: $file is a broken link"