mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
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"
|
||||
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()
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user