Created
April 25, 2013 03:23
-
-
Save BennettSmith/5457284 to your computer and use it in GitHub Desktop.
Experiment to verify conditional assignment of a default value for DOXYGEN environment variable.
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 | |
DOXYGEN=${DOXYGEN-/Applications/Doxygen.app/Contents/Resources/doxygen} | |
echo ${DOXYGEN} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is some sample output from running the script in the two modes (without overriding the value of DOXYGEN and with an override).