Updated fixCmakeFiles to handle file paths that contain whitespace.
svn path=/nixpkgs/trunk/; revision=15113
This commit is contained in:
parent
5bed8bd9e1
commit
2796d3a185
@ -11,7 +11,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-literal ${replaceArgs}
|
find $1 -type f -name "*.cmake" -print0 | xargs -0 replace-literal ${replaceArgs}
|
||||||
}
|
}
|
||||||
|
|
||||||
cmakeConfigurePhase()
|
cmakeConfigurePhase()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user