ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / build-support / substitute / substitute.sh
blobdbac275a80edefff0ed06a301dc10d35c23614b5
1 source $stdenv/setup
3 args=
5 target=$out
6 if test -n "$dir"; then
7 target=$out/$dir/$name
8 mkdir -p $out/$dir
9 fi
11 substitute $src $target $replacements
13 if test -n "$isExecutable"; then
14 chmod +x $target
17 eval "$postInstall"