From 8349537ef22013b811cd7e6afcb33ac4f1e1b8b2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 6 Jul 2008 13:12:30 +0200 Subject: bin/checklinks: shortened split --- bin/checklinks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { chomp; - ($type, $src, $dst) = split(/ +/); + ($type, $src, $dst) = split; if ($type eq 'soft') { check_symlink($src, $dst); } elsif ($type eq 'hard') { -- cgit v1.2.3