debug
This commit is contained in:
parent
1b65676fe2
commit
c76952df20
2 changed files with 3 additions and 4 deletions
|
@ -66,12 +66,15 @@ EOF
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
echo TEST1 >&2
|
||||||
# source git-sync part of myshellconfig
|
# source git-sync part of myshellconfig
|
||||||
. "${MYSHELLCONFIG_BASE}/myshell_git_sync"
|
. "${MYSHELLCONFIG_BASE}/myshell_git_sync"
|
||||||
|
|
||||||
|
echo TEST2 >&2
|
||||||
# source loading defaults part of myshellconfig
|
# source loading defaults part of myshellconfig
|
||||||
. "${MYSHELLCONFIG_BASE}/myshell_load_defaults"
|
. "${MYSHELLCONFIG_BASE}/myshell_load_defaults"
|
||||||
|
|
||||||
|
echo TEST3 >&2
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -255,12 +255,9 @@ sshs() {
|
||||||
cat << EOF >> "${TMPBASHCONFIG}"
|
cat << EOF >> "${TMPBASHCONFIG}"
|
||||||
[ -e /etc/bashrc ] && BASHRC=/etc/bashrc
|
[ -e /etc/bashrc ] && BASHRC=/etc/bashrc
|
||||||
[ -e /etc/bash.bashrc ] && BASHRC=/etc/bash.bashrc
|
[ -e /etc/bash.bashrc ] && BASHRC=/etc/bash.bashrc
|
||||||
echo TEST1 >&2
|
|
||||||
. \$BASHRC
|
. \$BASHRC
|
||||||
echo TEST2 >&2
|
|
||||||
|
|
||||||
for i in /etc/profile.d/*.sh; do
|
for i in /etc/profile.d/*.sh; do
|
||||||
echo TEST3 >&2
|
|
||||||
if [ -r "$i" ];then
|
if [ -r "$i" ];then
|
||||||
if [ "$PS1" ]; then
|
if [ "$PS1" ]; then
|
||||||
. "$i"
|
. "$i"
|
||||||
|
@ -268,7 +265,6 @@ echo TEST3 >&2
|
||||||
. "$i" >/dev/null
|
. "$i" >/dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo TEST3 >&2
|
|
||||||
done
|
done
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue