diff options
author | Piotr Stefaniak <pstef@freebsd.org> | 2020-08-09 00:38:21 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-09 23:57:17 +0200 |
commit | 685570858dc6b19329594c6efd2c20f1898976f9 (patch) | |
tree | 8b64d8dda6e90219872b9f1248cb6bd492a7fbf7 | |
parent | 5d8fded26aad230f9a87e55dd20fa778d9ea95d5 (diff) | |
download | upstream-685570858dc6b19329594c6efd2c20f1898976f9.tar.gz upstream-685570858dc6b19329594c6efd2c20f1898976f9.tar.bz2 upstream-685570858dc6b19329594c6efd2c20f1898976f9.zip |
build: fix typo in cmake patch
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>
-rw-r--r-- | tools/cmake/patches/130-bootstrap_parallel_make_flag.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch b/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch index 7b6198b14b..45ad885953 100644 --- a/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch +++ b/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch @@ -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}" |