mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Fix typo: seperated → separated
Automated edit command: git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's/seperated/separated/g;'
This commit is contained in:
parent
b4ab0746e1
commit
7c30e6f9d2
@ -17,7 +17,7 @@ All scripts except `bin/list-all` will have access to the following env vars to
|
||||
|
||||
#### bin/list-all
|
||||
|
||||
Must print a string with a space-seperated list of versions. Example output would be the following:
|
||||
Must print a string with a space-separated list of versions. Example output would be the following:
|
||||
|
||||
```
|
||||
1.0.1 1.0.2 1.3.0 1.4
|
||||
@ -36,7 +36,7 @@ This script should install the version, in the path mentioned in `ASDF_INSTALL_P
|
||||
|
||||
#### bin/list-bin-paths
|
||||
|
||||
List executables for the specified version of the tool. Must print a string with a space-seperated list of dir paths that contain executables. The paths must be relative to the install path passed. Example output would be:
|
||||
List executables for the specified version of the tool. Must print a string with a space-separated list of dir paths that contain executables. The paths must be relative to the install path passed. Example output would be:
|
||||
|
||||
```
|
||||
bin tools veggies
|
||||
@ -56,7 +56,7 @@ Uninstalls a specific version of a tool.
|
||||
|
||||
#### bin/list-legacy-filenames
|
||||
|
||||
Register additional setter files for this plugin. Must print a string with a space-seperated list of filenames.
|
||||
Register additional setter files for this plugin. Must print a string with a space-separated list of filenames.
|
||||
|
||||
```
|
||||
.ruby-version .rvmrc
|
||||
|
@ -97,17 +97,17 @@ generate_shims_for_version() {
|
||||
local install_path=$(get_install_path $plugin_name $install_type $version)
|
||||
|
||||
if [ -f ${plugin_path}/bin/list-bin-paths ]; then
|
||||
local space_seperated_list_of_bin_paths=$(
|
||||
local space_separated_list_of_bin_paths=$(
|
||||
export ASDF_INSTALL_TYPE=$install_type
|
||||
export ASDF_INSTALL_VERSION=$version
|
||||
export ASDF_INSTALL_PATH=$install_path
|
||||
bash ${plugin_path}/bin/list-bin-paths
|
||||
)
|
||||
else
|
||||
local space_seperated_list_of_bin_paths="bin"
|
||||
local space_separated_list_of_bin_paths="bin"
|
||||
fi
|
||||
|
||||
IFS=' ' read -a all_bin_paths <<< "$space_seperated_list_of_bin_paths"
|
||||
IFS=' ' read -a all_bin_paths <<< "$space_separated_list_of_bin_paths"
|
||||
|
||||
for bin_path in "${all_bin_paths[@]}"; do
|
||||
for executable_file in $install_path/$bin_path/*; do
|
||||
|
Loading…
Reference in New Issue
Block a user