mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
8 lines
134 B
Bash
8 lines
134 B
Bash
|
automakeAddFlags() {
|
||
|
local file="$1"
|
||
|
local target="$2"
|
||
|
local source="$3"
|
||
|
|
||
|
sed "/$target/a\$($source) \\\\" -i $file
|
||
|
}
|