nixpkgs-suyu/pkgs/desktops/xfce/automakeAddFlags.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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
}