1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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
}