diff options
author | Tim Zimmermann <tim@linux4.de> | 2021-12-23 10:15:26 +0100 |
---|---|---|
committer | Paul Keith <javelinanddart@gmail.com> | 2022-01-29 05:29:46 +0100 |
commit | 64ed76481cc4db05c674eb6c3d38e87acb99bebd (patch) | |
tree | bc26625193247062623450ea73ae0863b9dc1035 | |
parent | 75bcf7f3373c65455104c4ab7c039bf2d78000d5 (diff) |
extract_utils: do not cut off extension for cc_binary_prebuilt
* Otherwise extracting HAL services breaks
Change-Id: Ic6302df5c9b512adf4ca81c49cfb1d472aa15c84
-rw-r--r-- | extract_utils.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extract_utils.sh b/extract_utils.sh index 33ddea9..ab64e23 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -375,6 +375,11 @@ function write_blueprint_packages() { EXTENSION=${BASENAME##*.} PKGNAME=${BASENAME%.*} + if [ "$CLASS" = "EXECUTABLES" ] && [ "$EXTENSION" != "sh" ]; then + PKGNAME="$BASENAME" + EXTENSION="" + fi + # Allow overriding module name STEM= for ARG in "${ARGS[@]}"; do |