summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac J. Manjarres <isaacmanjarres@google.com>2023-03-10 15:42:47 -0800
committerIsaac J. Manjarres <isaacmanjarres@google.com>2023-03-10 15:45:47 -0800
commitff09c5ac6611bc09b6f2f6982e844c1837652b65 (patch)
treefdb4625be1fdd6915153e0b7bf102f30fb0db92c
parent6d1bd856b2304fd487543c8ab91abfd807ec2474 (diff)
downloadmsm-ff09c5ac6611bc09b6f2f6982e844c1837652b65.tar.gz
scripts/handle_aosp_merge.sh: Fix usage output formatting
The usage output currently outputs the sample invocations of the script in one line, instead of breaking up the invocation into multiple lines, which is not what was intended. Fix this by properly formatting the usage text by escaping the backslashes properly. Bug: 261218518 Change-Id: I6e064f56167e8ae00933310362faa355cecbef2e Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
-rwxr-xr-xscripts/handle_aosp_merge.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/handle_aosp_merge.sh b/scripts/handle_aosp_merge.sh
index 0e6d6ff..2423b99 100755
--- a/scripts/handle_aosp_merge.sh
+++ b/scripts/handle_aosp_merge.sh
@@ -64,15 +64,15 @@ function usage() {
Sample invocation for an unsigned boot.img:
- MERGE_BUG=261218518 BOOT_IMAGE_BUILDID=9717922 \
- AOSP_BRANCH=android13-5.15 \
- KERNEL_MANIFEST=android13-msm-pixelwatch-5.15 \
+ MERGE_BUG=261218518 BOOT_IMAGE_BUILDID=9717922 \\
+ AOSP_BRANCH=android13-5.15 \\
+ KERNEL_MANIFEST=android13-msm-pixelwatch-5.15 \\
USE_UNSIGNED_USER_IMG=1 $0
Sample invocation for a signed boot.img:
- MERGE_BUG=261218518 BOOT_IMAGE_BUILDID=9611439 \
- AOSP_BRANCH=android13-5.15-2023-02 \
+ MERGE_BUG=261218518 BOOT_IMAGE_BUILDID=9611439 \\
+ AOSP_BRANCH=android13-5.15-2023-02 \\
KERNEL_MANIFEST=android13-msm-pixelwatch-5.15 $0
Note: Signed images are only available on release builds on release branches.