Skip to content

Commit

Permalink
app-arch/libarchive: quote $(tc-*) calls
Browse files Browse the repository at this point in the history
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Mar 19, 2022
1 parent 0cc26d4 commit 11891a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app-arch/libarchive/libarchive-3.5.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ multilib_src_configure() {
)
if multilib_is_native_abi ; then
myconf+=(
--enable-bsdcat=$(tc-is-static-only && echo static || echo shared)
--enable-bsdcpio=$(tc-is-static-only && echo static || echo shared)
--enable-bsdtar=$(tc-is-static-only && echo static || echo shared)
--enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
)
else
myconf+=(
Expand Down
6 changes: 3 additions & 3 deletions app-arch/libarchive/libarchive-3.6.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ multilib_src_configure() {
)
if multilib_is_native_abi ; then
myconf+=(
--enable-bsdcat=$(tc-is-static-only && echo static || echo shared)
--enable-bsdcpio=$(tc-is-static-only && echo static || echo shared)
--enable-bsdtar=$(tc-is-static-only && echo static || echo shared)
--enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
)
else
myconf+=(
Expand Down

0 comments on commit 11891a6

Please sign in to comment.