mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
parent
c8a7e0b540
commit
b6c204f088
|
@ -389,6 +389,11 @@ substitute() {
|
|||
local input="$1"
|
||||
local output="$2"
|
||||
|
||||
if [ ! -f "$input" ]; then
|
||||
echo "substitute: File \"$input\" does not exist"
|
||||
return 1
|
||||
fi
|
||||
|
||||
local -a params=("$@")
|
||||
|
||||
local n p pattern replacement varName content
|
||||
|
|
Loading…
Reference in a new issue