From ff3d93821e22588ce607c17252334ca2d9ca54a4 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:03:49 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- tools/ota/make-update-script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/ota/make-update-script.c') diff --git a/tools/ota/make-update-script.c b/tools/ota/make-update-script.c index 0fb7ed0c3..225dc526a 100644 --- a/tools/ota/make-update-script.c +++ b/tools/ota/make-update-script.c @@ -171,7 +171,7 @@ int main(int argc, char *argv[]) { printf("assert compatible_with(\"0.2\") == \"true\"\n"); // if known, make sure the device name is correct - const char *device = getenv("TARGET_PRODUCT"); + const char *device = getenv("TARGET_DEVICE"); if (device != NULL) { printf("assert getprop(\"ro.product.device\") == \"%s\" || " "getprop(\"ro.build.product\") == \"%s\"\n", device, device); -- cgit v1.2.3