summaryrefslogtreecommitdiffstats
path: root/pkgs/build-support/substitute/substitute-all.sh
blob: cffba925ce82d12f1ca5fe26a9fbaa778ac125c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"