diff --git a/bin/find_symlinks_to_other_directories.sh b/bin/find_symlinks_to_other_directories.sh index 342794ff0bb..779fe58dc90 100755 --- a/bin/find_symlinks_to_other_directories.sh +++ b/bin/find_symlinks_to_other_directories.sh @@ -34,5 +34,5 @@ help_usage "$@" min_args 1 "$@" find "$1" -type l -exec ls -l {} \; | -grep -F -- ' -> /' | +grep -F -- ' -> .*/' | awk '{$1=$2=$3=$4=$5=$6=$7=$8=""; print}'