Skip to content

Commit f3fc7cd

Browse files
committed
CCM-11029: handle unset env var
1 parent 0cc8955 commit f3fc7cd

File tree

1 file changed

+1
-2
lines changed
  • infrastructure/terraform/components/sandbox

1 file changed

+1
-2
lines changed

infrastructure/terraform/components/sandbox/pre.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ echo Running pre.sh
1010
echo "REGION=$REGION"
1111
echo "ENVIRONMENT=$ENVIRONMENT"
1212
echo "ACTION=$ACTION"
13-
echo "SKIP_SANDBOX_INSTALL=$SKIP_SANDBOX_INSTALL"
1413

1514

1615
if [ "${ACTION}" == "apply" ]; then
1716
cd $(git rev-parse --show-toplevel)
1817
echo "Building lambdas for distribution"
1918

20-
if [ -z "$SKIP_SANDBOX_INSTALL" ]; then
19+
if [[ -z "${SKIP_SANDBOX_INSTALL:-}" ]]; then
2120
echo "Installing dependencies"
2221
make dependencies;
2322
else

0 commit comments

Comments
 (0)