Add required -P to pwd
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
This commit is contained in:
parent
c60e2870c4
commit
de16d9556a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue