Skip to content
Browse files

Merge pull request #33 from DeadWalkingDeath/patch-3

Update rpi-update
  • Loading branch information...
2 parents 6332172 + 5c910a1 commit a41a840f34639e14de56d2d4a09c8b1a6bd49bad @Hexxeh committed Oct 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 rpi-update
View
4 rpi-update
@@ -58,7 +58,7 @@ function update_self() {
#!/bin/bash
if mv "${_tempFileName}" "$0"; then
rm -- "\$0"
- exec env UPDATE=0 /bin/bash "$0" "$FW_RAM"
+ exec env UPDATE=0 /bin/bash "$0" "$FW_RAM" "$FW_REV"
else
echo "Failed!"
fi
@@ -219,7 +219,7 @@ if [[ ${FW_RAM} -ne 240 ]] &&[[ ${FW_RAM} -ne 224 ]] && [[ ${FW_RAM} -ne 192 ]]
exit 1
fi
echo "Using ARM/GPU memory split of ${FW_RAM}MB/${FW_GPU}MB"
-if [ "${FW_REV}" != "" ]; then
+if [[ ${FW_REV} != "" ]]; then
download_rev
do_update "updated to revision ${FW_REV}"
elif [[ -f "${FW_REPOLOCAL}/.git/config" ]]; then

0 comments on commit a41a840

Please sign in to comment.
Something went wrong with that request. Please try again.