dogedns: 0.2.6 -> 0.2.8 (#340101)
[NixPkgs.git] / pkgs / build-support / substitute / substitute-all.sh
blobec220481fcc094e2a7c7e7292e9537be6cdd65b2
1 source $stdenv/setup
3 eval "$preInstall"
5 args=
7 target=$out
8 if test -n "$dir"; then
9 target=$out/$dir/$name
10 mkdir -p $out/$dir
13 substituteAll $src $target
15 if test -n "$isExecutable"; then
16 chmod +x $target
19 eval "$postInstall"