nixpkgs/pkgs/desktops/xfce4-14/automakeAddFlags.sh

8 lines
134 B
Bash
Raw Normal View History

2017-12-17 16:02:52 +01:00
automakeAddFlags() {
local file="$1"
local target="$2"
local source="$3"
sed "/$target/a\$($source) \\\\" -i $file
}