aboutsummaryrefslogtreecommitdiff
path: root/lib/file_hash.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-05-24 16:13:23 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-05-24 16:13:46 -0700
commit446892d11ee712839084e4599a07d8decf6b3b54 (patch)
tree7cf53ca93b179614ed8d1f390125e7ef50eb0716 /lib/file_hash.nom
parent0c07968e0716745f7b510a76e94ccf0910e4c4e7 (diff)
Consolidating code obj code and expunging all [[..]]-style lua strings.
Diffstat (limited to 'lib/file_hash.nom')
-rw-r--r--lib/file_hash.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file_hash.nom b/lib/file_hash.nom
index 9a707c3..1f263de 100644
--- a/lib/file_hash.nom
+++ b/lib/file_hash.nom
@@ -3,7 +3,7 @@ use "core"
action [file with hash %hash]
lua> ".."
local Hash = require("openssl.digest")
- for filename in io.popen('find -L . -type f -name "*.nom"'):lines() do
+ for filename in io.popen('find -L . -not -path "*/\\\\.*" -type f -name "*.nom"'):lines() do
local file = io.open(filename)
local contents = file:read("*a")
file:close()