summary refs log blame commit diff
path: root/pkgs/build-support/substitute/substitute-all.sh
blob: ec220481fcc094e2a7c7e7292e9537be6cdd65b2 (plain) (tree)
1
2
3
4
5
6
7
8
9

                    

                  




                          
                      






                                

                   
source $stdenv/setup

eval "$preInstall"

args=

target=$out
if test -n "$dir"; then
    target=$out/$dir/$name
    mkdir -p $out/$dir
fi

substituteAll $src $target

if test -n "$isExecutable"; then
    chmod +x $target
fi

eval "$postInstall"