Skip to content

Commit 259e813

Browse files
committed
refresh the XDG references
1 parent 9132e89 commit 259e813

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

concepts.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ https://tools.ietf.org/html/rfc3987
1717

1818
**Resource Description Framework (RDF)**: http://www.w3.org/RDF/
1919

20+
**XDG Base Directory Specification**: https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html
21+
22+
2023
## Scope
2124

2225
This document describes CWL syntax, execution, and object model. It
@@ -578,11 +581,16 @@ documented in [cwl-runner.cwl](cwl-runner.cwl).
578581

579582
To discover CWL documents look in the following locations:
580583

581-
`/usr/share/commonwl/`
584+
For each value in the `XDG_DATA_DIRS` environment variable (which is a `:` colon
585+
separated list), check the `./commonwl` subdirectory. If `XDG_DATA_DIRS` is
586+
unset or empty, then check using the default value for `XDG_DATA_DIRS`:
587+
`/usr/local/share/:/usr/share/` (That is to say, check `/usr/share/commonwl/`
588+
and `/usr/local/share/commonwl/`)
582589

583-
`/usr/local/share/commonwl/`
590+
Then check `$XDG_DATA_HOME/commonwl/`.
584591

585-
`$XDG_DATA_HOME/commonwl/` (usually `$HOME/.local/share/commonwl`)
592+
If the `XDG_DATA_HOME` environment variable is unset, its default value is
593+
`$HOME/.local/share` (That is to say, check `$HOME/.local/share/commonwl`)
586594

587-
`$XDG_DATA_HOME` is from the [XDG Base Directory
595+
`$XDG_DATA_HOME` and `$XDG_DATA_DIRS` are from the [XDG Base Directory
588596
Specification](http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html)

intro.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Status of this document
22

33
This document is the product of the [Common Workflow Language working
4-
group](https://groups.google.com/forum/#!forum/common-workflow-language). The
5-
latest stable version of this document is available in the "v1.0" directory at
4+
group](https://www.commonwl.org/). The
5+
source for the latest stable version of this document is available in the "v1.0" directory at
66

77
https://github.com/common-workflow-language/common-workflow-language
88

9+
The current development version is at https://github.com/common-workflow-language/cwl-v1.1/
10+
911
The products of the CWL working group (including this document) are made available
1012
under the terms of the Apache License, version 2.0.
1113

0 commit comments

Comments
 (0)