Add a substituteAllInPlace() function to stdenv

svn path=/nixpkgs/branches/stdenv-updates/; revision=27993
This commit is contained in:
Shea Levy 2011-07-28 20:28:37 +00:00
parent d00b303766
commit 1a43ce8e08

View File

@ -386,6 +386,13 @@ substituteAll() {
}
substituteAllInPlace() {
local fileName="$1"
shift
substituteAll "$fileName" "$fileName" "$@"
}
######################################################################
# What follows is the generic builder.