nixpkgs-suyu/pkgs/desktops/xfce4-14/automakeAddFlags.sh
2019-07-13 08:42:05 -03:00

7 lines
134 B
Bash

automakeAddFlags() {
local file="$1"
local target="$2"
local source="$3"
sed "/$target/a\$($source) \\\\" -i $file
}