diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:49 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:49 -0800 |
commit | ff3d93821e22588ce607c17252334ca2d9ca54a4 (patch) | |
tree | e806acbb6f71dbdafc09df3bc0d8a0a4ae1b7905 /tools/ota/make-update-script.c | |
parent | 23580ca27a0a8109312fdd36cc363ad1f4719889 (diff) | |
download | bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.zip bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.tar.gz bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'tools/ota/make-update-script.c')
-rw-r--r-- | tools/ota/make-update-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ota/make-update-script.c b/tools/ota/make-update-script.c index 0fb7ed0..225dc52 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); |