change path

This commit is contained in:
Jakobus Schürz 2020-01-15 01:59:53 +01:00
parent 834e0094dc
commit 37a033f4a2

View file

@ -223,7 +223,7 @@ sshmyshellconfig() {
CMD=""
else
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 $@"
fi
$CMD /bin/bash << EOF