diff options
-rw-r--r-- | lib/spack/docs/mirrors.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/spack/docs/mirrors.rst b/lib/spack/docs/mirrors.rst index 4177261814..02bec81258 100644 --- a/lib/spack/docs/mirrors.rst +++ b/lib/spack/docs/mirrors.rst @@ -166,7 +166,7 @@ a directory, you can use a file URL like this one: .. code-block:: none - file://~/spack-mirror-2014-06-24 + file://$HOME/spack-mirror-2014-06-24 That points to the directory on the local filesystem. If it were on a web server, you could use a URL like this one: @@ -178,7 +178,7 @@ You can tell your Spack installation to use that mirror like this: .. code-block:: console - $ spack mirror add local_filesystem file://~/spack-mirror-2014-06-24 + $ spack mirror add local_filesystem file://$HOME/spack-mirror-2014-06-24 Each mirror has a name so that you can refer to it again later. @@ -193,7 +193,7 @@ To see all the mirrors Spack knows about, run ``spack mirror list``: .. code-block:: console $ spack mirror list - local_filesystem file://~/spack-mirror-2014-06-24 + local_filesystem file:///home/username/spack-mirror-2014-06-24 .. _cmd-spack-mirror-remove: @@ -218,7 +218,7 @@ Adding a mirror really adds a line in ``~/.spack/mirrors.yaml``: .. code-block:: yaml mirrors: - local_filesystem: file://~/spack-mirror-2014-06-24 + local_filesystem: file:///home/username/spack-mirror-2014-06-24 remote_server: https://example.com/some/web-hosted/directory/spack-mirror-2014-06-24 If you want to change the order in which mirrors are searched for |