Skip to content

Commit

Permalink
Fix preamble id (#996)
Browse files Browse the repository at this point in the history
I was too clever by half when writing the preamble and used a check for an
argument that doesn't actually work. Using the more typical method works
correctly.
  • Loading branch information
WalterKolczynski-NOAA committed Aug 25, 2022
1 parent 3a8fc8e commit 1f14229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/preamble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
#######
set +x
if [[ -v '1' ]]; then
if (( $# > 0 )); then
id="(${1})"
else
id=""
Expand Down

0 comments on commit 1f14229

Please sign in to comment.