Skip to content

Commit

Permalink
app-cdr/cdrtools: 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 1d6ad9f commit d6d0f89
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ src_prepare() {

# Respect CC/CXX variables.
cd "${S}"/RULES || die
local tcCC=$(tc-getCC)
local tcCXX=$(tc-getCXX)
local tcCC="$(tc-getCC)"
local tcCXX="$(tc-getCXX)"
# fix RISC-V build err, bug 811375
ln -s i586-linux-cc.rul riscv-linux-cc.rul || die
ln -s i586-linux-cc.rul riscv64-linux-cc.rul || die
Expand Down
4 changes: 2 additions & 2 deletions app-cdr/cdrtools/cdrtools-3.02_alpha09-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ src_prepare() {

# Respect CC/CXX variables.
cd "${S}"/RULES || die
local tcCC=$(tc-getCC)
local tcCXX=$(tc-getCXX)
local tcCC="$(tc-getCC)"
local tcCXX="$(tc-getCXX)"
# fix RISC-V build err, bug 811375
ln -s i586-linux-cc.rul riscv-linux-cc.rul || die
ln -s i586-linux-cc.rul riscv64-linux-cc.rul || die
Expand Down
4 changes: 2 additions & 2 deletions app-cdr/cdrtools/cdrtools-3.02_alpha09.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ src_prepare() {

# Respect CC/CXX variables.
cd "${S}"/RULES || die
local tcCC=$(tc-getCC)
local tcCXX=$(tc-getCXX)
local tcCC="$(tc-getCC)"
local tcCXX="$(tc-getCXX)"
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
rules1.top || die "sed rules1.top"
sed -i -e "/^CC_COM_DEF=/s|gcc|${tcCC}|" \
Expand Down

0 comments on commit d6d0f89

Please sign in to comment.