Skip to content

Commit 0242cfb

Browse files
committed
fix: use file.include.stat instead of file.stat
1 parent a9846fc commit 0242cfb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

builder/configure.chroot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ for feature in "${features[@]}"; do
6969
done
7070

7171
for feature in "${features[@]}"; do
72-
if [ -e "/builder/features/$feature/file.stat" ]; then
73-
sed 's/#.*$//;/^[[:space:]]*$/d' "/builder/features/$feature/file.stat" | while read -r user group perm file; do
72+
if [ -e "/builder/features/$feature/file.include.stat" ]; then
73+
sed 's/#.*$//;/^[[:space:]]*$/d' "/builder/features/$feature/file.include.stat" | while read -r user group perm file; do
7474
old_stat="$(stat -c '%A %U:%G' "$file")"
7575
chown "$user:$group" "$file"
7676
chmod "$perm" "$file"

docs/features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ By default only the executable bit of the files permission will be preserved whe
4141
The other permissions will be set to read write for owner and read for group and other.
4242
The owner of all copied files will be root by default.
4343

44-
To overwrite these defaults see `file.stat` below
44+
To overwrite these defaults see `file.include.stat` below
4545

46-
## `file.stat`
46+
## `file.include.stat`
4747

4848
A file to assign owner and permissions to files copied by `file.include`.
4949
Each line should contain an entry of the form:

0 commit comments

Comments
 (0)