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