From e9815a7602bc4ad1a3b3624b5d695de459132269 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 21 Dec 2010 20:53:53 +0100 Subject: frag.pl: fix handling of spaces in filenames Signed-off-by: Florian Pritz --- frag.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frag.pl') diff --git a/frag.pl b/frag.pl index b8eb685..3e2838e 100755 --- a/frag.pl +++ b/frag.pl @@ -11,7 +11,7 @@ my $fragments = 0; my $fragfiles = 0; #search fs for all file -open (FILES, "find " . $ARGV[0] . " -xdev -type f -print0 |"); +open (FILES, "find '" . $ARGV[0] . "' -xdev -type f -print0 |"); $/ = "\0"; -- cgit v1.2.3-24-g4f1b