From 4d111e5aba01b1022929e0293a0a2add3cd23625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de> Date: Fri, 27 Aug 2021 09:56:05 +0200 Subject: [PATCH] Fix unset variable (SPACK_GERRIT_REFSPEC ) bug Change-Id: I7c3c92971d3d16588fd9499a72c155af0b0826fb --- .ci/clone.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/clone.sh b/.ci/clone.sh index 1210419d..571d8dbe 100755 --- a/.ci/clone.sh +++ b/.ci/clone.sh @@ -97,7 +97,7 @@ if [ -n "${SPACK_GERRIT_CHANGE:-}" ] && [ -z "${SPACK_GERRIT_REFSPEC:-}" ]; then else if [ "${change_status}" = "MERGED" ]; then echo "This change depends on an already merged spack changeset! Ignoring.." >&2 - unset SPACK_GERRIT_REFSPEC + SPACK_GERRIT_REFSPEC="" fi fi @@ -134,7 +134,7 @@ if [ -n "${SPACK_GERRIT_CHANGE:-}" ] && [ -z "${SPACK_GERRIT_REFSPEC:-}" ]; then fi # prevent SPACK_GERRIT_REFSPEC from getting checked out again below - unset SPACK_GERRIT_REFSPEC + SPACK_GERRIT_REFSPEC="" fi fi done -- GitLab