From ad0316e861c4a14cc6798dee6d8f561509b930d0 Mon Sep 17 00:00:00 2001 From: DeadWalkingDeath Date: Wed, 10 Oct 2012 15:02:39 +0300 Subject: [PATCH] Update rpi-update Sorry, forgot the other change I made. For some reason the [[ doesn't work correct in this context. --- rpi-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-update b/rpi-update index a3609cb..38495b1 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