Permalink
Browse files

Fix more breakage

  • Loading branch information...
1 parent 91ef0f2 commit e3dea3de5cb077c77d0630b625a28c9f5a5b63ca @Hexxeh committed Dec 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rpi-update
View
@@ -24,7 +24,7 @@ FW_PATH="${BOOT_PATH}"
FW_MODPATH="${ROOT_PATH}/lib/modules"
FW_REV=${1:-""}
GITCMD="git --git-dir=\"${FW_REPOLOCAL}/.git\" --work-tree=\"${FW_REPOLOCAL}\""
-[ "${RPI_UPDATE_UNSUPPORTED}" -eq 0 ] && echo -e "You appear to be trying to update firmware on an incompatible distribution. To force update, run the following:\nRPI_UPDATE_UNSUPPORTED=1 sudo ./rpi-update"; exit 1
+[ "${RPI_UPDATE_UNSUPPORTED}" -ne 0 ] && echo -e "You appear to be trying to update firmware on an incompatible distribution. To force update, run the following:\nsudo -E RPI_UPDATE_UNSUPPORTED=1 ./rpi-update" && exit 1
function update_self() {
echo "Performing self-update"

0 comments on commit e3dea3d

Please sign in to comment.