From 82ca97bb2e57663c723fdbf3d20eb96ca2828eff Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 7 Dec 2014 14:51:57 +0000 Subject: [PATCH] Use /bin/sh rather than /bin/bash for determining hard/soft float See: https://github.com/Hexxeh/rpi-update/issues/153 --- rpi-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-update b/rpi-update index a18a7f3..cb62ce3 100755 --- a/rpi-update +++ b/rpi-update @@ -80,7 +80,7 @@ function update_modules { function update_vc_libs { echo " *** Updating VideoCore libraries" - ELFOUTPUT=$(readelf -a "${ROOT_PATH}/bin/bash") + ELFOUTPUT=$(readelf -a "${ROOT_PATH}/bin/sh") if [ "${ELFOUTPUT}" != "${ELFOUTPUT/VFP_args/}" ]; then echo " *** Using HardFP libraries" cp -R "${FW_REPOLOCAL}/vc/hardfp/"* "${ROOT_PATH}/"