summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-05-04 22:03:18 +0200
committerTao Bao <tbao@google.com>2017-09-13 19:51:09 +0200
commitbd0ddcd5e8794511395bf668833acc5c2da69fb0 (patch)
tree4e9b138c4234d80b88cc856effa3f55e340044f5 /install.cpp
parentMerge "Close cmd_pipe properly after updater test finishes" (diff)
downloadandroid_bootable_recovery-bd0ddcd5e8794511395bf668833acc5c2da69fb0.tar
android_bootable_recovery-bd0ddcd5e8794511395bf668833acc5c2da69fb0.tar.gz
android_bootable_recovery-bd0ddcd5e8794511395bf668833acc5c2da69fb0.tar.bz2
android_bootable_recovery-bd0ddcd5e8794511395bf668833acc5c2da69fb0.tar.lz
android_bootable_recovery-bd0ddcd5e8794511395bf668833acc5c2da69fb0.tar.xz
android_bootable_recovery-bd0ddcd5e8794511395bf668833acc5c2da69fb0.tar.zst
android_bootable_recovery-bd0ddcd5e8794511395bf668833acc5c2da69fb0.zip
Diffstat (limited to '')
-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,
};