Skip to content
Sign up
Sign in
This repository
Explore
Features
Enterprise
Blog
Star
949
Fork
89
Hexxeh
/
rpi-update
Code
Issues
Pull Requests
Pulse
Graphs
HTTPS
clone URL
Subversion
checkout URL
You can clone with
HTTPS
or
Subversion
.
Download ZIP
Permalink
Browse code
Skip printing base commit message when JUST_CHECK=1
master
commit
01f135f626f342d985fa728ca78f72ef49678c93
1 parent
e346828
popcornmix
authored
Sep 27, 2014
Unified
Split
Showing
1 changed file
with
1 addition
and
1 deletion
.
+
1
−
1
rpi-update
2
rpi-update
Show notes
View
@@ -252,7 +252,7 @@ else
echo " *** Firmware update required. New commits available:"
DIFF_API=${REPO_URI/github.com/api.github.com\/repos}/compare/$(cat "${FW_REVFILE}")...${BRANCH}
SEPARATOR="======================================================"
- curl -s ${DIFF_API} | awk -v SEPARATOR="${SEPARATOR}" -F\" ' { if ($2 == "message") {print SEPARATOR "\n" $4} }' | sed 's/\\n/\n/g'
+ curl -s ${DIFF_API} | awk -v SEPARATOR="${SEPARATOR}" -F\" ' { if ($2 == "
commits") {commits=1} if (commits && $2 == "
message") {print SEPARATOR "\n" $4} }' | sed 's/\\n/\n/g'
exit 2
fi
fi
Toggle all file notes
Please
sign in
to comment.
Something went wrong with that request. Please try again.