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

View File

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