mirror of https://git.tuxpa.in/a/code-server.git
Merge pull request #3025 from eltociear/patch-1
chore: fix typo in install.sh
This commit is contained in:
commit
3784c042b9
|
@ -557,8 +557,8 @@ echoerr() {
|
||||||
echoh "$@" >&2
|
echoh "$@" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
# humanpath replaces all occurances of " $HOME" with " ~"
|
# humanpath replaces all occurrences of " $HOME" with " ~"
|
||||||
# and all occurances of '"$HOME' with the literal '"$HOME'.
|
# and all occurrences of '"$HOME' with the literal '"$HOME'.
|
||||||
humanpath() {
|
humanpath() {
|
||||||
sed "s# $HOME# ~#g; s#\"$HOME#\"\$HOME#g"
|
sed "s# $HOME# ~#g; s#\"$HOME#\"\$HOME#g"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue