Skip to content

Commit

Permalink
remove redundant variables from symlink-file script
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 28, 2016
1 parent 3089239 commit 5411b02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions symlink-file
@@ -1,7 +1,6 @@
#!/bin/bash

find scalable -type l | while read file; do
path=$(echo $file | sed -e 's/[^\/]*$//');
name=$(basename $file); desc=$(file $file | sed -e 's/.*symbolic link to \(.*\)$/\1/');
desc=$(file $file | sed -e 's/.*symbolic link to \(.*\)$/\1/');
echo "$desc $file"
done

0 comments on commit 5411b02

Please sign in to comment.