diff options
Diffstat (limited to '')
-rwxr-xr-x | prune.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/prune.sh b/prune.sh index cc6e2444..361e1a97 100755 --- a/prune.sh +++ b/prune.sh @@ -4,9 +4,9 @@ set -o errexit -o nounset -o pipefail -paths=$(find -L ~ -type l -lname "$PWD/*") +links=$(find -L ~ -type l -lname "$PWD/*") -for path in $paths; do - rm "$path" - echo "$path" +for link in $links; do + rm "$link" + echo "$link" done |