copy-builtin: handle missing .gitignore
acfc4944d0
broke copy-builtin in
release tarballs, because those do not contain .gitignore file.
Adding -f to rm call will make it return 0 even if file does not exist.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Closes #11456
This commit is contained in:
parent
2bc66898b7
commit
2eb12c712b
|
@ -36,7 +36,7 @@ rm -rf "$KERNEL_DIR/include/zfs" "$KERNEL_DIR/fs/zfs"
|
|||
cp --recursive include "$KERNEL_DIR/include/zfs"
|
||||
cp --recursive module "$KERNEL_DIR/fs/zfs"
|
||||
cp zfs_config.h "$KERNEL_DIR/include/zfs/"
|
||||
rm "$KERNEL_DIR/include/zfs/.gitignore"
|
||||
rm -f "$KERNEL_DIR/include/zfs/.gitignore"
|
||||
|
||||
for MODULE in "${MODULES[@]}"
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue