Skip to content

Conversation

@dracorp
Copy link

@dracorp dracorp commented Mar 7, 2025

Replace generating symlinks from absolute to relative path.
Now symlinks from $BASHER_PREFIX/{man,bin,completions} are relative to $BASHER_PACKAGES_PATH/package.

Why?
I copy/rsync basher to VMs via ansible. This way, I can also copy installed packages. And I don't have internet access on all machines.

@juanibiapina
Copy link
Member

Thanks for the contribution. Seems like something is broken on macos.

@dracorp
Copy link
Author

dracorp commented Mar 10, 2025

Yes, you are right:

$ which realpath
/opt/homebrew/opt/coreutils/libexec/gnubin/realpath

I will check native realpath. My mistake.

@dracorp
Copy link
Author

dracorp commented Mar 11, 2025

I've added proper PATH to ci.yml for macos agent.
I initially converted to perl oneliner. But I noticed that:

Basher requires bash >= 4, and the realpath utility from coreutils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants