Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/allow v in version #10

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

looztra
Copy link

@looztra looztra commented Mar 21, 2022

@looztra
Copy link
Author

looztra commented Mar 21, 2022

ping @timgluz : you have to approve the workflow as I'm a first time contributor on this repo

@timgluz
Copy link
Owner

timgluz commented Mar 21, 2022

@looztra I allowed Github actions for PR; Thanks for PR

@@ -2,7 +2,7 @@

setup() {
export bin_path
bin_path=$(readlink -e "$BATS_TEST_DIRNAME/../bin")
bin_path=$(python -c "import os,sys; print(os.path.realpath(os.path.expanduser(sys.argv[1])))" "$BATS_TEST_DIRNAME/../bin")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a better solution that does not use python ?

maybe smt like this would work:

parent_dir=$(dirname "$BATS_TEST_DIRNAME")
bin_path="${parent_dir}/bin"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants