diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-12-21 20:53:53 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-12-21 20:53:53 +0100 |
commit | e9815a7602bc4ad1a3b3624b5d695de459132269 (patch) | |
tree | 18d83c9fa1495fb077b235bb126e4dac3cdd5c5f | |
parent | df33d7684f4c16024888c17e9a6f8331af325f55 (diff) | |
download | bin-e9815a7602bc4ad1a3b3624b5d695de459132269.tar.gz bin-e9815a7602bc4ad1a3b3624b5d695de459132269.tar.xz |
frag.pl: fix handling of spaces in filenames
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rwxr-xr-x | frag.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |