1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

cmake setup-hook: fixing cmakeFlagsArray

The array wasn'te expanded properly, the spaces weren't preserved.
This commit is contained in:
Lluís Batlle i Rossell 2013-03-12 11:31:58 +01:00
parent 36c6b4260b
commit 183b37645b

View file

@ -42,7 +42,7 @@ cmakeConfigurePhase() {
echo "cmake flags: $cmakeFlags ${cmakeFlagsArray[@]}"
cmake ${cmakeDir:-.} $cmakeFlags ${cmakeFlagsArray[@]}
cmake ${cmakeDir:-.} $cmakeFlags "${cmakeFlagsArray[@]}"
eval "$postConfigure"
}