llvm: shellcheck

This commit is contained in:
Owen Rafferty 2022-09-22 14:52:59 -05:00
parent 429968d56f
commit 7b7dfa8faa
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ cmake --install build
# Use new llvm-config to generate a pkg-config file.
PATH="$1/usr/bin:$PATH"
mkdir -p "$1/usr/lib/pkgconfig"
# shellcheck disable=2016
sed -e "s|$1||" -e 's|/usr/include|\${includedir}|' \
> "$1/usr/lib/pkgconfig/llvm.pc" <<EOF
prefix=/usr