fix variable

This commit is contained in:
Jakobus Schürz 2020-01-14 11:38:43 +01:00
parent 2d957509b8
commit 84ada785cf

View file

@ -233,7 +233,7 @@ sshmyshellconfig() {
fi fi
echo echo
#printf "%s" "[ -f bashrc_add ] && . bashrc_add" | tee -a ~/.bashrc #printf "%s" "[ -f bashrc_add ] && . bashrc_add" | tee -a ~/.bashrc
printf "%s" "if [ -e \${MYSHELLCONFIG_BASE}/bashrc_add ]; then . \${MYSHELLCONFIG_BASE}/bashrc_add; else if [ -f bashrc_add ] ;then . bashrc_add;fi;fi" |tee -a ~/.bashrc printf "%s" "if [ -e ${MYSHELLCONFIG_BASE}/bashrc_add ]; then . ${MYSHELLCONFIG_BASE}/bashrc_add; else if [ -f bashrc_add ] ;then . bashrc_add;fi;fi" |tee -a ~/.bashrc
echo echo
EOF EOF