Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Commit

Permalink
Fix blunder when implementing new -a behavior: somehow I did not test…
Browse files Browse the repository at this point in the history
… properly and made a really dumb syntax error for assigning $APP a string value to overwrite the old defaults
  • Loading branch information
mkavulich committed Oct 14, 2019
1 parent 9e8cf86 commit d4b4003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make_ncep_libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ if [ -z $APP ] ; then APP=0; fi #APP is an optional argument

# For back compatability, allow APP to be 0 (global) or 1 (all)
if [ "$APP" == "0" ]; then
$APP = "global"
APP="global"
elif [ "$APP" == "1" ]; then
$APP = "all"
APP="all"
fi

# Ensure value ($2) of variable ($1) is contained in list of validvalues ($3)
Expand Down

0 comments on commit d4b4003

Please sign in to comment.