1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 20:12:52 +00:00
nixpkgs/pkgs/desktops/xfce4-14/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
}