From bab56215931e84cfc6ae4574800e4748c1608fda Mon Sep 17 00:00:00 2001 From: Kali- Date: Sat, 16 Oct 2010 22:15:37 +0200 Subject: [PATCH] Verify cache size, output can't be redirected to /dev/null --- prebuilt/common/bin/verify_cache_partition_size.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prebuilt/common/bin/verify_cache_partition_size.sh b/prebuilt/common/bin/verify_cache_partition_size.sh index 748f6b2a..9f8ea649 100644 --- a/prebuilt/common/bin/verify_cache_partition_size.sh +++ b/prebuilt/common/bin/verify_cache_partition_size.sh @@ -4,7 +4,7 @@ # CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2) -if [ $CACHESIZE \< 60000 ] +if [ $CACHESIZE -lt 60000 ] then - echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop > /dev/null 2>&1 + echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop fi