File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ main() {
109109 VERSION \
110110 OPTIONAL \
111111 ALL_FLAGS \
112- SSH_ARGS
112+ RSH_ARGS
113113
114114 ALL_FLAGS=" "
115115 while [ " $# " -gt 0 ]; do
@@ -152,7 +152,7 @@ main() {
152152 shift
153153 # We remove the -- added above.
154154 ALL_FLAGS=" ${ALL_FLAGS% --} "
155- SSH_ARGS =" $* "
155+ RSH_ARGS =" $* "
156156 break
157157 ;;
158158 -* )
@@ -161,17 +161,17 @@ main() {
161161 exit 1
162162 ;;
163163 * )
164- SSH_ARGS =" $* "
164+ RSH_ARGS =" $* "
165165 break
166166 ;;
167167 esac
168168
169169 shift
170170 done
171171
172- if [ " ${SSH_ARGS -} " ]; then
173- echoh " Installing remotely with ssh $SSH_ARGS "
174- curl -fsSL https://code-server.dev/install.sh | prefix " $SSH_ARGS " ssh " $SSH_ARGS " sh -s -- " $ALL_FLAGS "
172+ if [ " ${RSH_ARGS -} " ]; then
173+ echoh " Installing remotely with ssh $RSH_ARGS "
174+ curl -fsSL https://code-server.dev/install.sh | prefix " $RSH_ARGS " ssh " $RSH_ARGS " sh -s -- " $ALL_FLAGS "
175175 return
176176 fi
177177
You can’t perform that action at this time.
0 commit comments