Skip to content

Commit

Permalink
Merge pull request #160 from tkmtnt7000/update-workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
708yamaguchi authored Dec 14, 2021
2 parents 168684e + 6b9e2d4 commit 4d8902d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jsk_fetch_robot/jsk_fetch_startup/scripts/update_workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cd $HOME/ros/melodic
catkin clean aques_talk collada_urdf_jsk_patch -y
catkin init
catkin config -DCMAKE_BUILD_TYPE=Release
catkin build -v
catkin build
CATKIN_BUILD_RESULT=$?
# Send mail
MAIL_BODY=""
Expand All @@ -28,7 +28,8 @@ if [ $CATKIN_BUILD_RESULT -ne 0 ]; then
fi
set +x
} > $LOGFILE 2>&1
rostopic pub -1 /email jsk_robot_startup/Email "header:
if [ -n "$MAIL_BODY" ]; then
rostopic pub -1 /email jsk_robot_startup/Email "header:
seq: 0
stamp: {secs: 0, nsecs: 0}
frame_id: ''
Expand All @@ -39,3 +40,4 @@ receiver_address: 'fetch@jsk.imi.i.u-tokyo.ac.jp'
smtp_server: ''
smtp_port: ''
attached_files: ['$LOGFILE']"
fi

0 comments on commit 4d8902d

Please sign in to comment.