summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-09-19 19:14:37 +0200
committerDees Troy <dees_troy@teamw.in>2014-10-07 20:49:54 +0200
commite96c3c34c2d825f2cfca654f665b6259098e0a02 (patch)
tree51c0c7b2cbc214a17d4f6adf5166b2e4428d51b2
parentFixes for exfat-fuse (diff)
downloadandroid_bootable_recovery-e96c3c34c2d825f2cfca654f665b6259098e0a02.tar
android_bootable_recovery-e96c3c34c2d825f2cfca654f665b6259098e0a02.tar.gz
android_bootable_recovery-e96c3c34c2d825f2cfca654f665b6259098e0a02.tar.bz2
android_bootable_recovery-e96c3c34c2d825f2cfca654f665b6259098e0a02.tar.lz
android_bootable_recovery-e96c3c34c2d825f2cfca654f665b6259098e0a02.tar.xz
android_bootable_recovery-e96c3c34c2d825f2cfca654f665b6259098e0a02.tar.zst
android_bootable_recovery-e96c3c34c2d825f2cfca654f665b6259098e0a02.zip
-rw-r--r--openrecoveryscript.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index 1461f2d88..0b71a42eb 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -105,7 +105,7 @@ int OpenRecoveryScript::run_script_file(void) {
remove_nl = 1;
if (cindex != 0) {
strncpy(command, script_line, cindex);
- LOGINFO("command is: '%s' and ", command);
+ LOGINFO("command is: '%s'\n", command);
val_start = script_line;
val_start += cindex + 1;
if ((int) *val_start == 32)
@@ -477,11 +477,11 @@ string OpenRecoveryScript::Locate_Zip_File(string Zip, string Storage_Root) {
while (pos != string::npos)
{
pathCpy = Path.substr(pos, Path.size() - pos);
- wholePath = pathCpy + "/" + File;
+ wholePath = pathCpy + File;
LOGINFO("Looking for zip at '%s'\n", wholePath.c_str());
if (TWFunc::Path_Exists(wholePath))
return wholePath;
- wholePath = Storage_Root + "/" + wholePath;
+ wholePath = Storage_Root + wholePath;
LOGINFO("Looking for zip at '%s'\n", wholePath.c_str());
if (TWFunc::Path_Exists(wholePath))
return wholePath;