depot/third_party/nixpkgs/pkgs/build-support/substitute/substitute-all.sh

17 lines
223 B
Bash

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"