summaryrefslogtreecommitdiffstats
path: root/frag.pl
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-12-21 20:53:53 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-12-21 20:53:53 +0100
commite9815a7602bc4ad1a3b3624b5d695de459132269 (patch)
tree18d83c9fa1495fb077b235bb126e4dac3cdd5c5f /frag.pl
parentdf33d7684f4c16024888c17e9a6f8331af325f55 (diff)
downloadbin-e9815a7602bc4ad1a3b3624b5d695de459132269.tar.gz
bin-e9815a7602bc4ad1a3b3624b5d695de459132269.tar.xz
frag.pl: fix handling of spaces in filenames
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'frag.pl')
-rwxr-xr-xfrag.pl2
1 files changed, 1 insertions, 1 deletions
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";