Renamed replace executable to replace-literal (Yurii Kudryashov noticed conflict with MySQL)

svn path=/nixpkgs/trunk/; revision=9376
This commit is contained in:
Michael Raskin 2007-09-27 14:48:09 +00:00
parent d4d6b5424d
commit 3dc3021d01
2 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ fixCmakeFiles()
echo "Fixing cmake files"
replaceArgs="-e -f -L -T /usr /FOO"
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()

View File

@ -10,6 +10,8 @@ stdenv.mkDerivation {
buildInputs = [];
makeFlags = " TREE=\$(out) ";
postInstall = "mv \$out/bin/replace \$out/bin/replace-literal";
meta = {
description = "
Replace verbatim strings. Sed is not fit to do it. Replace is.