fix excaping
This commit is contained in:
parent
f87156db6f
commit
42730132f0
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ sshmyshellconfig() {
|
|||
CMD=""
|
||||
else
|
||||
local SSH="/usr/bin/ssh"
|
||||
[ -e ${MYSHELLCONFIG_BASE}/bashrc_add ] && $SSH -T -o VisualHostKey=no $@ "mkdir -p ~/bashrc_add; cat > ~/${MYSHELLCONFIG_SUBPATH}/bashrc_add" < "${MYSHELLCONFIG_BASE}/bashrc_add"
|
||||
[ -e ${MYSHELLCONFIG_BASE}/bashrc_add ] && $SSH -T -o VisualHostKey=no $@ "mkdir -p ~/\$(dirname \$MYSHELLCONFIG_BASE_PARENT); cat > ~/bashrc_add" < "${MYSHELLCONFIG_BASE}/bashrc_add"
|
||||
local CMD="$SSH -T $@"
|
||||
fi
|
||||
$CMD /bin/bash << EOF
|
||||
|
|
Loading…
Reference in a new issue