From ac49fa0445fafece42d5b75af5e636de03738c2f Mon Sep 17 00:00:00 2001 From: DeadWalkingDeath Date: Wed, 10 Oct 2012 13:05:56 +0300 Subject: [PATCH] Update rpi-update Without double quote it doesn't work for me, always goes into elif --- rpi-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-update b/rpi-update index 3ef39c6..a3609cb 100755 --- a/rpi-update +++ b/rpi-update @@ -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