copy-builtin: don't create sed backup files
This creates a bit of a mess in the kernel tree, and is largely unnecessary unless you're debugging copy-builtin. Signed-off-by: Michael D Labriola <michael.d.labriola@gmail.com>
This commit is contained in:
parent
acfc4944d0
commit
3fdfb85850
|
@ -40,8 +40,8 @@ rm "$KERNEL_DIR/include/zfs/.gitignore"
|
|||
|
||||
for MODULE in "${MODULES[@]}"
|
||||
do
|
||||
sed -i.bak '/obj =/d' "$KERNEL_DIR/fs/zfs/$MODULE/Makefile"
|
||||
sed -i.bak '/src =/d' "$KERNEL_DIR/fs/zfs/$MODULE/Makefile"
|
||||
sed -i '/obj =/d' "$KERNEL_DIR/fs/zfs/$MODULE/Makefile"
|
||||
sed -i '/src =/d' "$KERNEL_DIR/fs/zfs/$MODULE/Makefile"
|
||||
done
|
||||
|
||||
cat > "$KERNEL_DIR/fs/zfs/Kconfig" <<"EOF"
|
||||
|
|
Loading…
Reference in New Issue