fix output
This commit is contained in:
parent
d133a4926d
commit
50737de42e
1 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@ if [ $(id -u) -ne 0 ]; then
|
|||
WDOTD=$(date "+${HOME}/archive/work/%Y/%m/work_%Y%m%d")
|
||||
[ -e $WDOTD ] || mkdir -pv "${WDOTD}"
|
||||
if [[ ( -e "${HOME}/WORK" && -h "${HOME}/WORK" ) || ! -e "${HOME}/WORK" ]] ; then
|
||||
ln -svnf "${WDOTD}" "${HOME}/WORK" # >>${MYSHELLCONFIG_LOGFILE} 2>&1
|
||||
ln -svnf "${WDOTD}" "${HOME}/WORK" >>${MYSHELLCONFIG_LOGFILE} 2>&1
|
||||
else
|
||||
echo "${HOME}/WORK exists and is real directory" >>${MYSHELLCONFIG_LOGFILE} 2>&1
|
||||
fi
|
||||
|
@ -111,6 +111,6 @@ fi
|
|||
|
||||
|
||||
|
||||
#echo "bashrc_add sourced" 2>&1 |tee -a ${MYSHELLCONFIG_LOGFILE} >&2
|
||||
echo "bashrc_add sourced" >&2
|
||||
echo "bashrc_add sourced" 2>&1 |tee -a ${MYSHELLCONFIG_LOGFILE} >&2
|
||||
#echo "bashrc_add sourced" >&2
|
||||
|
||||
|
|
Loading…
Reference in a new issue