Last active
September 10, 2021 12:19
-
-
Save strokyl/bdef26d7faae4aa051edf047357da96b 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
#!/bin/bash -eu | |
echoerr() { echo "$@" 1>&2; } | |
SCRIPTDIR=$(dirname "$0") | |
main() { | |
echo "Yo from $SCRIPTDIR" | |
echo ${TO_SET:?"Please set TO_SET"} | |
echoerr "Error" | |
} | |
main "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment