summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-22 11:48:03 -0700
committerMichael Forney <mforney@mforney.org>2020-06-22 22:47:59 -0700
commit677859db25f2b0e3dd88d7636219dc0dd9a43ac0 (patch)
tree03ff3fec77fae9927080c3c986ea02167fb7e6f2
parent2e91c9c4ce10384a845098d0236dee8a946fc86b (diff)
Exclude .gitignore and .perms from fspec
-rw-r--r--gen.lua2
-rw-r--r--pkg/skeleton/gen.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/gen.lua b/gen.lua
index 96ab1359..74fc709c 100644
--- a/gen.lua
+++ b/gen.lua
@@ -18,7 +18,7 @@ subgen 'probe'
subgen 'pkg'
subgen 'src'
-file('.perms', '644', '$outdir/root.perms')
+gitfile('.perms', '644', '$outdir/root.perms')
build('gitinit', '$builddir/root.stamp')
build('gittree', '$builddir/root.tree', {'$outdir/root.index', '|', '$basedir/scripts/tree.sh', '||', '$builddir/root.stamp'})
diff --git a/pkg/skeleton/gen.lua b/pkg/skeleton/gen.lua
index 9efc7720..2b8d54d8 100644
--- a/pkg/skeleton/gen.lua
+++ b/pkg/skeleton/gen.lua
@@ -15,4 +15,4 @@ dir('var/empty', '755')
dir('var/log', '755')
sym('usr/bin', '../bin')
-file('.gitignore', '644', '$dir/gitignore')
+gitfile('.gitignore', '644', '$dir/gitignore')