Skip to content

Commit 3e2ab62

Browse files
committed
Use ! -z
1 parent 391c903 commit 3e2ab62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/scripts/cpp_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if [ -x "$(command -v git)" ]; then
3131
fi
3232

3333
# TODO(kszucs): consider to move these to CMake
34-
if [ -n "${CONDA_PREFIX}" ] && [ "${ARROW_EMSCRIPTEN:-OFF}" = "OFF" ]; then
34+
if [ ! -z "${CONDA_PREFIX}" ] && [ "${ARROW_EMSCRIPTEN:-OFF}" = "OFF" ]; then
3535
echo -e "===\n=== Conda environment for build\n==="
3636
conda list
3737

0 commit comments

Comments
 (0)