Skip to content

Instantly share code, notes, and snippets.

@rpappalax
Created February 4, 2021 17:56
Show Gist options
  • Save rpappalax/566471f187ac31274a3935879c671a0b to your computer and use it in GitHub Desktop.
Save rpappalax/566471f187ac31274a3935879c671a0b to your computer and use it in GitHub Desktop.
condition=0
echo "STEP1"
export SHOULD_I_STOP=${condition}
if [[ ${SHOULD_I_STOP} == 1 ]]; then
echo "STEP2"
fi
if [[ ${SHOULD_I_STOP} == 1 ]]; then
echo "STEP3"
fi
if [[ ${SHOULD_I_STOP} == 1 ]]; then
echo "STEP4"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment