From ac6c853ee66043f87a34158ad66fb86cd936ceda Mon Sep 17 00:00:00 2001 From: Alyssa Ketpreechasawat Date: Fri, 14 Jul 2023 17:19:03 +0000 Subject: [PATCH] Fix the number of required parameters in deapexer script. Regarding aosp/2624311, `blkid_path` was removed from the command, so the number of parameters should be reduced by 1. Test: MODULE_BUILD_FROM_SOURCE=false m (in internal-main branch) Bug: 279858383 Change-Id: Iad494b757e2a4152a6867098c3eb7419c3bba71b --- scripts/unpack-prebuilt-apex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/unpack-prebuilt-apex.sh b/scripts/unpack-prebuilt-apex.sh index 2a20e452a..18f4da236 100755 --- a/scripts/unpack-prebuilt-apex.sh +++ b/scripts/unpack-prebuilt-apex.sh @@ -17,7 +17,7 @@ set -eu # limitations under the License. # Tool to unpack an apex file and verify that the required files were extracted. -if [ $# -lt 7 ]; then +if [ $# -lt 6 ]; then echo "usage: $0 +" >&2 exit 1 fi