index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
-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}" |