add path to the front of the variable instead of the back
This commit is contained in:
parent
b2c7140b2a
commit
5a77b03f36
2 changed files with 2 additions and 2 deletions
2
scripts/obtain/dotnet-install.sh
vendored
2
scripts/obtain/dotnet-install.sh
vendored
|
@ -631,7 +631,7 @@ install_dotnet
|
|||
bin_path=$(get_absolute_path $(combine_paths $install_root $bin_folder_relative_path))
|
||||
if [ "$no_path" = false ]; then
|
||||
say "Adding to current process PATH: ``$bin_path``. Note: This change will be visible only when sourcing script."
|
||||
export PATH=$PATH:$bin_path
|
||||
export PATH=$bin_path:$PATH
|
||||
else
|
||||
say "Binaries of dotnet can be found in $bin_path"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue