Created
August 5, 2014 19:26
-
-
Save stbenjam/6e3e223db2d5365886b6 to your computer and use it in GitHub Desktop.
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
source ./foo.sh | |
. ./foo.sh |
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
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; | |
then | |
echo "This script should not be executed directly, use foreman-debug instead." | |
exit 1 | |
fi | |
echo "foo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment