summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-09-14 10:06:46 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-09-14 10:06:46 +0200
commitd912326793580d2d5efc13b790f6c618578436a2 (patch)
tree4ccc3ee433270f7ec922e7e6d04aa553577c734d /install.cpp
parentrelease-request-8244a883-eac1-43aa-b800-33dd285ccdd1-for-git_pi-release-4332766 snap-temp-L47800000102000453 (diff)
parentMerge "Remove EXPAND/STRINGIFY macros." am: 6e7df82c7b am: ad878d5494 am: 34e7d45fb3 (diff)
downloadandroid_bootable_recovery-d912326793580d2d5efc13b790f6c618578436a2.tar
android_bootable_recovery-d912326793580d2d5efc13b790f6c618578436a2.tar.gz
android_bootable_recovery-d912326793580d2d5efc13b790f6c618578436a2.tar.bz2
android_bootable_recovery-d912326793580d2d5efc13b790f6c618578436a2.tar.lz
android_bootable_recovery-d912326793580d2d5efc13b790f6c618578436a2.tar.xz
android_bootable_recovery-d912326793580d2d5efc13b790f6c618578436a2.tar.zst
android_bootable_recovery-d912326793580d2d5efc13b790f6c618578436a2.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 586dbbe2c..507161c2e 100644
--- a/install.cpp
+++ b/install.cpp
@@ -290,7 +290,7 @@ int update_binary_command(const std::string& package, ZipArchiveHandle zip,
*cmd = {
binary_path,
- EXPAND(RECOVERY_API_VERSION), // defined in Android.mk
+ std::to_string(kRecoveryApiVersion),
std::to_string(status_fd),
package,
};