forked from kiss-community/repo
llvm: shellcheck
This commit is contained in:
parent
429968d56f
commit
7b7dfa8faa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user