add debug
This commit is contained in:
parent
dcd1c66192
commit
41bce602d6
1 changed files with 2 additions and 1 deletions
|
@ -355,6 +355,7 @@ sshs() {
|
||||||
|
|
||||||
if [ -e "${HOME}/.config/myshellconfig/sshs_addfiles.conf" ] ; then
|
if [ -e "${HOME}/.config/myshellconfig/sshs_addfiles.conf" ] ; then
|
||||||
cat "${HOME}/.config/myshellconfig/sshs_addfiles.conf"|while read i;do
|
cat "${HOME}/.config/myshellconfig/sshs_addfiles.conf"|while read i;do
|
||||||
|
echo "add $i to FILELIST"
|
||||||
FILELIST+=("$i")
|
FILELIST+=("$i")
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
@ -386,7 +387,7 @@ EOF
|
||||||
|
|
||||||
for f in ${FILELIST[*]}; do
|
for f in ${FILELIST[*]}; do
|
||||||
if [ -e $f ]; then
|
if [ -e $f ]; then
|
||||||
#echo add $f to tmpconfig
|
echo add $f to tmpconfig
|
||||||
cat "$f" >> "${TMPBASHCONFIG}";
|
cat "$f" >> "${TMPBASHCONFIG}";
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue