From d717892353d722e582625310600eb5f9d6364238 Mon Sep 17 00:00:00 2001 From: "Koushik K. Dutta" Date: Wed, 24 Mar 2010 14:38:40 -0700 Subject: [PATCH] put parenthesis around the md5sum... apparently there was a strange issue of the sum not being generated. 1.7.7.3 --- Android.mk | 2 +- nandroid.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index e4b73ca..749059a 100644 --- a/Android.mk +++ b/Android.mk @@ -26,7 +26,7 @@ LOCAL_MODULE := recovery LOCAL_FORCE_STATIC_EXECUTABLE := true -RECOVERY_VERSION := ClockworkMod Recovery v1.7.7.1 +RECOVERY_VERSION := ClockworkMod Recovery v1.7.7.3 LOCAL_CFLAGS := -DRECOVERY_VERSION="$(RECOVERY_VERSION)" RECOVERY_API_VERSION := 2 LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) diff --git a/nandroid.c b/nandroid.c index 54795d9..8ba1cd5 100644 --- a/nandroid.c +++ b/nandroid.c @@ -122,7 +122,8 @@ int nandroid_backup(char* backup_path) if (0 != (ret = nandroid_backup_partition(backup_path, "CACHE:", "cache"))) return ret; - sprintf(tmp, "cd %s && md5sum *img > nandroid.md5", backup_path); + ui_print("Generating md5 sum...\n"); + sprintf(tmp, "cd %s && (md5sum *img > nandroid.md5)", backup_path); if (0 != (ret = __system(tmp))) { ui_print("Error while generating md5 sum!\n"); return ret;