Skip to content

Commit

Permalink
Merge pull request #1201 from damienfrancois/main
Browse files Browse the repository at this point in the history
Fix typo: $JOB-ID ->  $JOBID
  • Loading branch information
adswa authored Dec 8, 2023
2 parents 1ee196a + 79ef65e commit 3d5a2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/beyond_basics/101-170-dataladrun.rst
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ This makes it easy to associate a result (via its branch) with the log, error, o
# git checkout -b <name> creates a new branch and checks it out
$ git checkout -b "job-$JOBID"
Importantly, the ``$JOB-ID`` isn't hardcoded into the script but it can be given to the script as an environment or input variable at the time of job submission.
Importantly, the ``$JOBID`` isn't hardcoded into the script but it can be given to the script as an environment or input variable at the time of job submission.
The code snippet above uses a bash :term:`environment variable` (``$JOBID``, as indicated by the all-upper-case variable name with a leading ``$``).
It will be defined in the job submission -- this is shown and explained in detail in the respective paragraph below.

Expand Down

0 comments on commit 3d5a2d2

Please sign in to comment.