Skip to content
Snippets Groups Projects
Commit bfcf7300 authored by Luis Guzmán's avatar Luis Guzmán
Browse files

config: add sed_csum function.

parent f4c729d0
No related branches found
No related tags found
1 merge request!1169config: add sed_csum function.
Pipeline #1067 passed
......@@ -266,3 +266,6 @@ remove_patch(){
sed -i "/$1/d" debian/patches/series
}
sed_csum() {
grep -rl "$1" "$3" | xargs -r /bin/sed -i "s|$1|$2|"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment