Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-kernel-config12
1 files changed, 6 insertions, 6 deletions
diff --git a/update-kernel-config b/update-kernel-config
index 7439c7d..b4d78f2 100755
--- a/update-kernel-config
+++ b/update-kernel-config
@@ -47,17 +47,17 @@ for config_name in ${config_names}; do
{
grep -vxF "$(
printf '%s\n' "${diff}" | \
- sed -n '
+ sed '
s/^-//
- T
- p
+ t
+ d
'
)" "${git_repo_path}/$1/$2/${config_name}"
printf '%s\n' "${diff}" | \
- sed -n '
+ sed '
s/^+//
- T
- p
+ t
+ d
'
} | \
sponge "${git_repo_path}/$1/$2/${config_name}"