diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-06 13:12:30 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-06 13:12:30 +0200 |
commit | 8349537ef22013b811cd7e6afcb33ac4f1e1b8b2 (patch) | |
tree | 8e3ca919c76180fee2d979850ce9d50e6f354605 | |
parent | 17a4549611012a4010da3b3a87a4b348a295c936 (diff) |
bin/checklinks: shortened split
-rwxr-xr-x | bin/checklinks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/checklinks b/bin/checklinks index 0b51e08..1342862 100755 --- a/bin/checklinks +++ b/bin/checklinks @@ -18,7 +18,7 @@ if (defined($ARGV[0]) and $ARGV[0] eq '-q') { open(LINKS, '<.links') or die($!); while(<LINKS>) { chomp; - ($type, $src, $dst) = split(/ +/); + ($type, $src, $dst) = split; if ($type eq 'soft') { check_symlink($src, $dst); } elsif ($type eq 'hard') { |