Renamed replace executable to replace-literal (Yurii Kudryashov noticed conflict with MySQL)
svn path=/nixpkgs/trunk/; revision=9376
This commit is contained in:
parent
d4d6b5424d
commit
3dc3021d01
|
@ -18,7 +18,7 @@ fixCmakeFiles()
|
||||||
echo "Fixing cmake files"
|
echo "Fixing cmake files"
|
||||||
replaceArgs="-e -f -L -T /usr /FOO"
|
replaceArgs="-e -f -L -T /usr /FOO"
|
||||||
replaceArgs="${replaceArgs} -a NO_DEFAULT_PATH \"\" -a NO_SYSTEM_PATH \"\""
|
replaceArgs="${replaceArgs} -a NO_DEFAULT_PATH \"\" -a NO_SYSTEM_PATH \"\""
|
||||||
find $1 -type f -name "*.cmake" | xargs replace ${replaceArgs}
|
find $1 -type f -name "*.cmake" | xargs replace-literal ${replaceArgs}
|
||||||
}
|
}
|
||||||
|
|
||||||
cmakePostUnpack()
|
cmakePostUnpack()
|
||||||
|
|
|
@ -10,6 +10,8 @@ stdenv.mkDerivation {
|
||||||
buildInputs = [];
|
buildInputs = [];
|
||||||
makeFlags = " TREE=\$(out) ";
|
makeFlags = " TREE=\$(out) ";
|
||||||
|
|
||||||
|
postInstall = "mv \$out/bin/replace \$out/bin/replace-literal";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "
|
description = "
|
||||||
Replace verbatim strings. Sed is not fit to do it. Replace is.
|
Replace verbatim strings. Sed is not fit to do it. Replace is.
|
||||||
|
|
Loading…
Reference in New Issue