Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
brokenpip3 committed Apr 6, 2024
1 parent 4c332c1 commit 5710607
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,15 @@ runs:
if [ -f libexec/bats-core/bats-gather-tests ]; then
# TODO: find a better way to understand if the version of bats is =< 1.10
# without installing semver binaries.
set -x
sed 's|libexec|lib|g' -i \
bin/* \
libexec/bats-core/* \
lib/bats-core/* \
test/*.bats
mv -v libexec/bats-core/* lib/bats-core/
install -Dm 755 bin/bats -t "${DESTDIR}/bats"
#install -Dm 755 bin/bats -t "${DESTDIR}/bats"
cp -v bin/bats "${DESTDIR}/bats"
install -Dm 644 lib/bats-core/* -t "${LIBDIR}"
else
sed -i 's|BATS_ROOT/libexec/bats-core/bats|BATS_ROOT/share/bats/bats|g' bin/bats
Expand Down

0 comments on commit 5710607

Please sign in to comment.