Skip to content

Apache DataFusion SQL Query Engine

ARROW-11547: [Packaging][Conda][Drone] Fix undefined variable error

Sutou Kouheib0371abd0888
diff --git a/dev/tasks/conda-recipes/build_steps.sh b/dev/tasks/conda-recipes/build_steps.sh
index a19a3124ea..8f1743f594 100755
--- a/dev/tasks/conda-recipes/build_steps.sh
+++ b/dev/tasks/conda-recipes/build_steps.sh
@@ -40,7 +40,7 @@ conda build \
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \
--output-folder "${output_dir}"
-if [ ! -z "${R_CONFIG}" ]; then
+if [ ! -z "${R_CONFIG:-}" ]; then
conda build \
"${FEEDSTOCK_ROOT}/r-arrow" \
-m "${CI_SUPPORT}/r/${R_CONFIG}.yaml" \