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
|
||||
. "${MYSHELLCONFIG_BASE}/myshell_git_sync"
|
||||
|
||||
echo TEST2 >&2
|
||||
# source loading defaults part of myshellconfig
|
||||
. "${MYSHELLCONFIG_BASE}/myshell_load_defaults"
|
||||
|
||||
echo TEST3 >&2
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
@ -255,12 +255,9 @@ sshs() {
|
|||
cat << EOF >> "${TMPBASHCONFIG}"
|
||||
[ -e /etc/bashrc ] && BASHRC=/etc/bashrc
|
||||
[ -e /etc/bash.bashrc ] && BASHRC=/etc/bash.bashrc
|
||||
echo TEST1 >&2
|
||||
. \$BASHRC
|
||||
echo TEST2 >&2
|
||||
|
||||
for i in /etc/profile.d/*.sh; do
|
||||
echo TEST3 >&2
|
||||
if [ -r "$i" ];then
|
||||
if [ "$PS1" ]; then
|
||||
. "$i"
|
||||
|
@ -268,7 +265,6 @@ echo TEST3 >&2
|
|||
. "$i" >/dev/null
|
||||
fi
|
||||
fi
|
||||
echo TEST3 >&2
|
||||
done
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue