Skip to content

Commit 466abeb

Browse files
committed
fix syntax in build shell scripts
1 parent cf8f16b commit 466abeb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

conda-recipe-cf/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export ICXCFG
1212
read -r GLIBC_MAJOR GLIBC_MINOR <<< "$(conda list '^sysroot_linux-64$' \
1313
| tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')"
1414

15-
if [-d "build"]; then
15+
if [ -d "build" ]; then
1616
rm -rf build
1717
fi
1818

@@ -30,7 +30,7 @@ ${PYTHON} -m pip install dist/mkl_umath*.whl \
3030
--no-deps \
3131
--only-binary :all: \
3232
--no-index \
33-
--prefix "${PREFIX}"
33+
--prefix "${PREFIX}" \
3434
-vv
3535

3636
if [ -n "${WHEELS_OUTPUT_FOLDER}" ]; then

conda-recipe/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export ICXCFG
1212
read -r GLIBC_MAJOR GLIBC_MINOR <<< "$(conda list '^sysroot_linux-64$' \
1313
| tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')"
1414

15-
if [-d "build"]; then
15+
if [ -d "build" ]; then
1616
rm -rf build
1717
fi
1818

@@ -30,7 +30,7 @@ ${PYTHON} -m pip install dist/mkl_umath*.whl \
3030
--no-deps \
3131
--only-binary :all: \
3232
--no-index \
33-
--prefix "${PREFIX}"
33+
--prefix "${PREFIX}" \
3434
-vv
3535

3636
if [ -n "${WHEELS_OUTPUT_FOLDER}" ]; then

0 commit comments

Comments
 (0)