Skip to content

Commit

Permalink
Merge pull request #5 from 534o/check_wget_failure
Browse files Browse the repository at this point in the history
[hot_fix.sh] do not send all messages to dev/null use -q instead and kil...
  • Loading branch information
130s committed Apr 10, 2015
2 parents f31ac3a + aa81215 commit 6cf130b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotfixer/hot_fix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ patch_dir=${3:-/opt/ros/hydro/share}
patch_prefix=${4:-1}

echo_green ";; download patch file https://github.com/${patch_repo}/pull/${patch_no}.diff"
wget -O /tmp/$$.patch --no-check-certificate https://github.com/${patch_repo}/pull/${patch_no}.diff 2> /dev/null
wget -O /tmp/$$.patch -q --no-check-certificate https://github.com/${patch_repo}/pull/${patch_no}.diff || (echo_red "error on downloading pach files"; kill $$)
echo -e "\e[33m"
cat /tmp/$$.patch
echo -e "\e[0m"
Expand Down

0 comments on commit 6cf130b

Please sign in to comment.