Skip to content

Instantly share code, notes, and snippets.

@clburlison
Created October 31, 2015 01:43
Show Gist options
  • Select an option

  • Save clburlison/fa75cfa78c3bb199d472 to your computer and use it in GitHub Desktop.

Select an option

Save clburlison/fa75cfa78c3bb199d472 to your computer and use it in GitHub Desktop.
Bash export example
#!/bin/bash
source ./slave.sh
echo $UPDATE
if [ $UPDATE == true ]; then
echo "update is true"
fi
#!/bin/bash
export UPDATE=True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment