repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git]
/
pkgs
/
build-support
/
substitute
/
substitute.sh
blob
dbac275a80edefff0ed06a301dc10d35c23614b5
1
source
$stdenv
/
setup
2
3
args
=
4
5
target
=
$out
6
if
test -n
"
$dir
"
;
then
7
target
=
$out
/
$dir
/
$name
8
mkdir
-p
$out
/
$dir
9
fi
10
11
substitute
$src $target $replacements
12
13
if
test -n
"
$isExecutable
"
;
then
14
chmod
+
x
$target
15
fi
16
17
eval
"
$postInstall
"
18