X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=bin%2Ffindsymlinks.sh;h=56f8043b9d069de5d8d6088fd7a9d701d0a37fa3;hb=0aecce55f2b1b5cbb7768a925b9af3bfd1458db3;hp=f5d3a9592fe5fcabd4f904b4e858891557f3f116;hpb=0c802537ec02d6cfea4c41b3138535c09a319489;p=clearscm.git diff --git a/bin/findsymlinks.sh b/bin/findsymlinks.sh index f5d3a95..56f8043 100755 --- a/bin/findsymlinks.sh +++ b/bin/findsymlinks.sh @@ -17,7 +17,10 @@ for component in "${components[@]}"; do testpath="${testpath}/$component" if [ -h "$testpath" ]; then + points_to=$(ls -l $testpath | awk '{print $NF}') + echo "$testpath: symbolic link to $(ls -l $testpath | awk '{print $NF}')" testpath=$(readlink -n $testpath) fi done +