Skip to content

Commit d9f1dbb

Browse files
committed
pr review fixes
1 parent 9ff2b5e commit d9f1dbb

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

docs/software/uenv/index.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,13 @@ This guide walks through the process of detecting if you have an old version ins
701701

702702
First, log into the target cluster, and enter `type uenv` and inspect the output.
703703

704+
The system version of `uenv` is installed in `/usr/bin`, so if you see the following you do not need to make any changes:
705+
706+
```console
707+
$ type uenv
708+
uenv is /usr/bin/uenv
709+
```
710+
704711
Version 5 of uenv used a bash function called `uenv`, which will give output that looks like this:
705712

706713
```console
@@ -711,14 +718,7 @@ uenv ()
711718
local _last_exitcode=$?;
712719
function uenv_usage ()
713720
{
714-
...
715-
```
716-
717-
More recent versions of uenv install an executable, which is installed in `/usr`:
718-
719-
```console
720-
$ type uenv
721-
uenv is /usr/bin/uenv
721+
...
722722
```
723723

724724
If you have installed version 6, 7, 8 or 9, it will be in a different location, for example:
@@ -743,13 +743,11 @@ $ rm $(which uenv)
743743
# forget the old uenv command
744744
$ hash -r
745745

746-
# check the version
746+
# type and which should point to the same executable in /usr/bin
747747
$ type uenv
748748
uenv is /usr/bin/uenv
749-
$ which uenv # type and which should point to the same executable in /usr/bin
749+
$ which uenv
750750
/usr/bin/uenv
751-
$ uenv --version
752-
9.0.0
753751
```
754752

755753
### Removing version 5
@@ -766,13 +764,11 @@ Log out and back in again, then issue the following command to force bash to for
766764
# forget the old uenv command
767765
$ hash -r
768766

769-
# check the version
767+
# type and which should point to the same executable in /usr/bin
770768
$ type uenv
771769
uenv is /usr/bin/uenv
772-
$ which uenv # type and which should point to the same executable in /usr/bin
770+
$ which uenv
773771
/usr/bin/uenv
774-
$ uenv --version
775-
9.0.0
776772
```
777773

778774

docs/software/uenv/release-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This [version](https://github.com/eth-cscs/uenv2/releases/tag/v9.0.0) will repla
2929
- a bug where the `--only-meta` flag was ignored on `image pull`.
3030
- add hints to error message when uenv is not found.
3131

32-
[#ref-uenv-release-notes-v9.0.0-issues]
32+
[](){#ref-uenv-release-notes-v9.0.0-issues}
3333
### Known issues
3434

3535
!!! warning "user-installed uenv stopped working"

0 commit comments

Comments
 (0)