index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-11-14 11:38:58 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-14 11:38:58 +0100 |
commit | 1c085647b60eb93e44185bdf7dcbe2a5b8f4befd (patch) | |
tree | 5e1d175b989162a6561a2929f5ad464840d3fe29 | |
parent | 8325d8755a0b1e2e759c89cda11df544b95fb464 (diff) |
-rwxr-xr-x | update-kernel-config | 12 |
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}" |