Unverified Commit 2eb12c71 authored by Georgy Yakovlev's avatar Georgy Yakovlev Committed by GitHub
Browse files

copy-builtin: handle missing .gitignore


 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: default avatarGeorgy Yakovlev <gyakovlev@gentoo.org>
Closes #11456 
parent 2bc66898
......@@ -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[@]}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment