Skip to contentSkip to conversation

bats: fix bats-format-pretty report error when multilib enabled

PATCH Xiangyu Chen 1 participant 1 message Apr 25, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Xiangyu Chen

From: Xiangyu Chen <[email protected]>

bat-format-pretty hardcoded the lib folder that cause it reports missing formatter.bash error when multilib is enabled.

Friendly ping, thanks.

Quoted 25 lines
---
  meta-oe/recipes-test/bats/bats_1.6.1.bb | 1 +
  1 file changed, 1 insertion(+)
meta-oe/recipes-test/bats/bats_1.6.1.bb +1 -1
index 7d72a5198b..3dcb51972d 100644
@@ -19,6 +19,7 @@ do_configure:prepend() {
  	sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats
  	sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-file
  	sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-test
+	sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-format-pretty
  }
 
  do_install() {
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#109952): https://lists.openembedded.org/g/openembedded-devel/message/109952
Mute This Topic: https://lists.openembedded.org/mt/105530685/7175143
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-