From 0b4eac9e0126ea3edd0d81bef972db4cb507d9ba Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Mon, 16 May 2011 13:32:01 -0700 Subject: [PATCH] also set UPDATE_PACKAGE in updater for old recoveries Change-Id: I90e3feb0c1655279d58751ce800f299d9b4f3d03 --- updater/updater.c | 1 + 1 file changed, 1 insertion(+) diff --git a/updater/updater.c b/updater/updater.c index aa626d2..6bc4f40 100644 --- a/updater/updater.c +++ b/updater/updater.c @@ -63,6 +63,7 @@ int main(int argc, char** argv) { // Extract the script from the package. char* package_data = argv[3]; + setenv("UPDATE_PACKAGE", package_data, 1); ZipArchive za; int err; err = mzOpenZipArchive(package_data, &za);