Skip to content

Commit f22c5c8

Browse files
committed
[jsk_robot_startup] Use bold to easy to read mail text
1 parent f41cebf commit f22c5c8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

jsk_robot_common/jsk_robot_startup/scripts/update_workspace_main.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ echo "" > $TMP_MAIL_BODY_FILE
8888
wstool foreach -t $WORKSPACE/src --git 'git fetch origin --prune'
8989
WSTOOL_STATUS=$(wstool status -t $WORKSPACE/src)
9090
if [ -n "$WSTOOL_STATUS" ]; then
91-
echo -e "Please commit robot internal change and send pull request.<br>" >> $TMP_MAIL_BODY_FILE
91+
echo -e "<b>Please commit robot internal change and send pull request.</b><br><br>" >> $TMP_MAIL_BODY_FILE
9292
echo -e $WSTOOL_STATUS >> $TMP_MAIL_BODY_FILE
9393
# escape " ' , -- and add change line code to end of line
9494
wstool diff -t $WORKSPACE/src | sed -e "s/'/ /g" -e "s/^--/ /g" -e 's/"/ /g' -e "s/<br>/\\\n/" -e 's/$/<br>/g' -e "s/,/ /g" | tee -a $TMP_MAIL_BODY_FILE
@@ -123,13 +123,13 @@ catkin build --continue-on-failure
123123
CATKIN_BUILD_RESULT=$?
124124
# Send mail
125125
if [ $WSTOOL_UPDATE_RESULT -ne 0 ]; then
126-
echo "Please wstool update workspace manually.<br>" >> $TMP_MAIL_BODY_FILE
126+
echo "<b>Please wstool update workspace manually.</b><br>" >> $TMP_MAIL_BODY_FILE
127127
fi
128128
if [ $ROSDEP_INSTALL_RESULT -ne 0 ]; then
129-
echo "Please install dependencies manually.<br>" >> $TMP_MAIL_BODY_FILE
129+
echo "<b>Please install dependencies manually.</b><br>" >> $TMP_MAIL_BODY_FILE
130130
fi
131131
if [ $CATKIN_BUILD_RESULT -ne 0 ]; then
132-
echo "Please catkin build workspace manually.<br>" >> $TMP_MAIL_BODY_FILE
132+
echo "<b>Please catkin build workspace manually.</b><br>" >> $TMP_MAIL_BODY_FILE
133133
fi
134134
set +x
135135
} 2>&1 | tee $LOGFILE

0 commit comments

Comments
 (0)