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

'RimPy.sh: No such file or directory' if PWD is not the RimPy directory #165

Open
Little-119 opened this issue Apr 11, 2024 · 0 comments
Open

Comments

@Little-119
Copy link

Tiny inconvenience:
Executing RimPy.sh when the current directory isn't the RimPy directory returns
./RimPy_Linux/RimPy.sh: line 2: ./RimPy: No such file or directory
as its looking for the RimPy binary relative to $PWD

This can be fixed by changing the line
LD_PRELOAD="libpcre.so.3:$LD_PRELOAD" ./RimPy
to
LD_PRELOAD="libpcre.so.3:$LD_PRELOAD" $(dirname $0)/RimPy
making the bash script successfully executable from an arbitrary directory

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

No branches or pull requests

1 participant