nixpkgs/pkgs/desktops/xfce4-13/automakeAddFlags.sh
Yegor Timoshenko 21159d8f17
xfce4-13: init
2017-12-21 14:40:42 +00:00

7 lines
134 B
Bash

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