Skip to content

Commit

Permalink
-L switch is needed for "find" to handle symlinked data subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
gcinbis committed Aug 16, 2016
1 parent f709ad9 commit f09421a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/dataset.lua
Expand Up @@ -135,7 +135,7 @@ function dataset:__init(...)
-- define command-line tools, try your best to maintain OSX compatibility
local wc = 'wc'
local cut = 'cut'
local find = 'find'
local find = 'find -L' -- -L is necessary when the subfolders themselves are symlinks
if ffi.os == 'OSX' then
wc = 'gwc'
cut = 'gcut'
Expand Down

0 comments on commit f09421a

Please sign in to comment.