diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-18 03:03:49 +0100 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-18 03:03:49 +0100 |
commit | ff3d93821e22588ce607c17252334ca2d9ca54a4 (patch) | |
tree | e806acbb6f71dbdafc09df3bc0d8a0a4ae1b7905 /tools/ota/make-update-script.c | |
parent | Initial Contribution (diff) | |
download | android_bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.tar android_bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.tar.gz android_bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.tar.bz2 android_bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.tar.lz android_bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.tar.xz android_bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.tar.zst android_bootable_recovery-ff3d93821e22588ce607c17252334ca2d9ca54a4.zip |
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 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); |