diff options
Diffstat (limited to 'meta-oe/recipes-test/bats/bats_1.9.0.bb')
-rw-r--r-- | meta-oe/recipes-test/bats/bats_1.9.0.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-test/bats/bats_1.9.0.bb b/meta-oe/recipes-test/bats/bats_1.9.0.bb index a642d7cf5..015bc42f8 100644 --- a/meta-oe/recipes-test/bats/bats_1.9.0.bb +++ b/meta-oe/recipes-test/bats/bats_1.9.0.bb | |||
@@ -15,10 +15,12 @@ SRCREV = "6636e2c2ef5ffe361535cb45fc61682c5ef46b71" | |||
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | # Numerous scripts assume ${baselib} == lib, which is not true. | ||
19 | # | ||
18 | do_configure:prepend() { | 20 | do_configure:prepend() { |
19 | sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats | 21 | for f in ${S}/libexec/bats-core/* ${S}/lib/bats-core/* ; do |
20 | sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-file | 22 | sed -i 's:\$BATS_ROOT/lib/:\$BATS_ROOT/${baselib}/:g' $f |
21 | sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-test | 23 | done |
22 | } | 24 | } |
23 | 25 | ||
24 | do_install() { | 26 | do_install() { |