nixpkgs/pkgs/desktops/xfce/automakeAddFlags.sh

8 lines
134 B
Bash
Raw Normal View History

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