Skip to content

Commit 5c6c2fb

Browse files
authored
Merge pull request conda-forge#247 from hmaarrfk/fixup_typo
Add quotes to ensure bash correctness
2 parents b405b10 + 526fae8 commit 5c6c2fb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ Latest installers with Mamba and PyPy 3.7 in the base environment:
8282
Download the installer using curl or wget or your favorite program download files and run the script.
8383
For eg:
8484

85-
curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh
85+
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
8686
bash Mambaforge-$(uname)-$(uname -m).sh
8787

8888
or
8989

90-
wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh
90+
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
9191
bash Mambaforge-$(uname)-$(uname -m).sh
9292

9393
#### Uninstallation
@@ -119,7 +119,7 @@ rm -rf ${CONDA_BASE_ENVIRONMENT}
119119

120120
```bash
121121
echo ${HOME}/.condarc will be removed if it exists
122-
rm -f ${HOME}/.condarc
122+
rm -f "${HOME}/.condarc"
123123
```
124124
125125
### Windows
@@ -143,11 +143,11 @@ more automated fashion, you may wish to a command similar to
143143
144144
For Linux, any architecture, use the following command
145145
146-
wget -O Miniforge3.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh
146+
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
147147
148148
For MacOSX, any architecture, use the following command
149149
150-
curl -fsSLo Miniforge3.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-$(uname -m).sh
150+
curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-$(uname -m).sh"
151151
152152
This will download the appropriate installer for the present architecture with
153153
the filename ``Miniforge3.sh``. Run the shell script with the command in batch

0 commit comments

Comments
 (0)