put parenthesis around the md5sum... apparently there was a strange issue of the sum not being generated. 1.7.7.3

This commit is contained in:
Koushik K. Dutta 2010-03-24 14:38:40 -07:00
parent f953555bde
commit d717892353
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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;