summary refs log tree commit diff
path: root/pkgs/build-support/substitute/substitute-all.sh
blob: 796a1a471529f53c3086ea1c2088f90d7b7b6bef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
source $stdenv/setup

eval "$preInstall"

args=

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

substituteAll $src $target

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

eval "$postInstall"