Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit af94c25

Browse files
author
Release Manager
committedJul 17, 2022
Trac #34096: Fix typo: enviroment -> environment
Spotted in a few files with {{{ $ git grep enviroment }}} URL: https://trac.sagemath.org/34096 Reported by: slelievre Ticket author(s): Samuel Lelièvre Reviewer(s): Matthias Koeppe
2 parents d04c189 + d169385 commit af94c25

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed
 

‎bootstrap-conda

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ for PKG_BASE in $(sage-package list --has-file distros/conda.txt); do
4545
fi
4646
fi
4747
done
48-
echo >&2 $0:$LINENO: generate conda enviroment files
48+
echo >&2 $0:$LINENO: generate conda environment files
4949
echo "name: sage-build" > environment.yml
5050
echo "channels:" >> environment.yml
5151
echo " - conda-forge" >> environment.yml

‎build/bin/sage-sdist

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ if [ $# -gt 1 ]; then
2525
fi
2626

2727
if [ -z "$SAGE_ROOT" ]; then
28-
die "must be run from within a Sage enviroment, or with SAGE_ROOT provided"
28+
die "must be run from within a Sage environment, or with SAGE_ROOT provided"
2929
fi
3030

3131
if [ -z "$SAGE_SRC" ]; then
32-
die "must be run from within a Sage enviroment, or with SAGE_SRC provided"
32+
die "must be run from within a Sage environment, or with SAGE_SRC provided"
3333
fi
3434

3535
if [ "$#" -gt 0 ]; then

‎m4/ppl.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ main() {
180180
<< "\n*** was found! If ppl-config was correct, then it is best"
181181
"\n*** to remove the old version of PPL."
182182
" You may also be able to fix the error"
183-
"\n*** by modifying your LD_LIBRARY_PATH enviroment variable,"
183+
"\n*** by modifying your LD_LIBRARY_PATH environment variable,"
184184
" or by editing"
185185
"\n*** /etc/ld.so.conf."
186186
" Make sure you have run ldconfig if that is"
@@ -224,7 +224,7 @@ main() {
224224
" variable to point"
225225
"\n*** to the correct copy of ppl-config. (In this case,"
226226
" you will have to"
227-
"\n*** modify your LD_LIBRARY_PATH enviroment"
227+
"\n*** modify your LD_LIBRARY_PATH environment"
228228
" variable or edit /etc/ld.so.conf"
229229
"\n*** so that the correct libraries are found at run-time.)"
230230
<< endl;

‎src/bin/sage-env

+4-4
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ fi
200200

201201

202202
if [ 1 = 2 ]; then
203-
echo "The following enviroment variables can be set by the user"
203+
echo "The following environment variables can be set by the user"
204204
echo "AR The archiver (e.g. ar, /usr/ccs/bin/ar or /usr/bin/ar)"
205205
echo "AS The assembler (e.g. as, /usr/ccs/bin/as or /usr/bin/as)"
206206
echo "CC The C compiler (e.g cc, /opt/SUNWspro/bin/cc or /usr/bin/gcc)"
@@ -217,10 +217,10 @@ if [ 1 = 2 ]; then
217217
echo "SHAREDFLAGS Flag(s) necessary for building a shared library (e.g. -fPIC or -xcode=pic32)"
218218
echo "We attempt to set this to sensible values, but check below to"
219219
echo "ensure they are OK. If you wish to override any then please use:"
220-
echo "setenv NAME_OF_ENVIROMENT_VARIABLE value_of_enviroment_variable"
220+
echo "setenv NAME_OF_ENVIRONMENT_VARIABLE value_of_environment_variable"
221221
echo "(if you use tcsh, csh or a similar shell) or"
222-
echo "NAME_OF_ENVIROMENT_VARIABLE value_of_enviroment_variable"
223-
echo "export NAME_OF_ENVIROMENT_VARIABLE"
222+
echo "NAME_OF_ENVIRONMENT_VARIABLE value_of_environment_variable"
223+
echo "export NAME_OF_ENVIRONMENT_VARIABLE"
224224
echo "if you use sh, bash or a similar shell"
225225
fi
226226

‎src/bin/sage-update-version

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ if [ $# -ne 1 ]; then
2222
fi
2323

2424
if [ -z "$SAGE_ROOT" ]; then
25-
die "must be run from within a Sage enviroment, or with SAGE_ROOT provided"
25+
die "must be run from within a Sage environment, or with SAGE_ROOT provided"
2626
fi
2727

2828
if [ -z "$SAGE_SRC" ]; then
29-
die "must be run from within a Sage enviroment, or with SAGE_SRC provided"
29+
die "must be run from within a Sage environment, or with SAGE_SRC provided"
3030
fi
3131

3232
set -e

0 commit comments

Comments
 (0)
This repository has been archived.