build: fix typo in cmake patch
authorPiotr Stefaniak <pstef@freebsd.org>
Sat, 8 Aug 2020 22:38:21 +0000 (00:38 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 9 Aug 2020 21:57:17 +0000 (23:57 +0200)
The variable in the case argument was mistyped, so the case always
checked against an empty string and never matched.

Fix the variable name.

Signed-off-by: Piotr Stefaniak <pstef@freebsd.org>
[add commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
tools/cmake/patches/130-bootstrap_parallel_make_flag.patch

index 7b6198b14b1db1e2552241d60a84e61b53d75465..45ad88595341a3cc00c72f5dc57ec17332b38557 100644 (file)
@@ -5,7 +5,7 @@
  cmake_original_make_flags="${cmake_make_flags}"
  if [ "x${cmake_parallel_make}" != "x" ]; then
 -  cmake_make_flags="${cmake_make_flags} -j ${cmake_parallel_make}"
-+  case "$cmake_paralle_make" in
++  case "$cmake_parallel_make" in
 +    [0-9]*) cmake_parallel_make="-j ${cmake_parallel_make}";;
 +  esac
 +  cmake_make_flags="${cmake_make_flags} ${cmake_parallel_make}"