Created
October 31, 2015 01:43
-
-
Save clburlison/fa75cfa78c3bb199d472 to your computer and use it in GitHub Desktop.
Bash export example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source ./slave.sh | |
echo $UPDATE | |
if [ $UPDATE == true ]; then | |
echo "update is true" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export UPDATE=True | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment