2020-05-23 23:31:05 -04:00

36 lines
1.3 KiB
Diff

From 339b9777bf562e9ec10d128c93f31d6d0c1e4a10 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Sat, 23 May 2020 21:35:12 -0400
Subject: [PATCH] Fixup a7e400ce
Change-Id: I4fcf0b2524c8aaf947fa378638ae9bc73dc451be
---
build/tools/extract_utils.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh
index 7b6e9cc2..657bacb9 100644
--- a/build/tools/extract_utils.sh
+++ b/build/tools/extract_utils.sh
@@ -456,11 +456,16 @@ function write_blueprint_packages() {
printf '\t\tenabled: false,\n'
printf '\t},\n'
fi
- if [ "$CLASS" = "SHARED_LIBRARIES" ] || [ "$CLASS" = "EXECUTABLES" ] || [ "$CLASS" = "ETC" ] ; then
+ if [ "$CLASS" = "SHARED_LIBRARIES" ] || [ "$CLASS" = "EXECUTABLES" ] ; then
if [ "$DIRNAME" != "." ]; then
printf '\trelative_install_path: "%s",\n' "$DIRNAME"
fi
fi
+ if [ "$CLASS" = "ETC" ] ; then
+ if [ "$DIRNAME" != "." ]; then
+ printf '\tsub_dir: "%s",\n' "$DIRNAME"
+ fi
+ fi
if [ "$CLASS" = "SHARED_LIBRARIES" ] || [ "$CLASS" = "EXECUTABLES" ] ; then
printf '\tprefer: true,\n'
fi
--
2.26.2