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

Binary executable can't find its data #19999

Closed
cprecioso opened this issue Mar 23, 2016 · 2 comments
Closed

Binary executable can't find its data #19999

cprecioso opened this issue Mar 23, 2016 · 2 comments

Comments

@cprecioso
Copy link
Contributor

Hi, I'm working in a Cask for SteamCMD. You can see it in my fork; it's almost copied from parse.
However, when installed, it gives this error:

$ steamcmd
/usr/local/bin/steamcmd: line 32: /usr/local/bin/osx32/steamcmd: No such file or directory

Basically, the entry point is a .sh file that has this in its first line

STEAMROOT="$(cd "${0%/*}" && echo $PWD)"

So, it tries to find its accompanying files in /usr/local/bin, instead of realizing it is symlinked.
What should I do in this case? Do I patch it in a postflight stanza?

@vitorgalvao
Copy link
Contributor

What should I do in this case? Do I patch it in a postflight stanza?

Pretty much, yes, until we get something better.

Unrelated question: does that tool allow to redeem steam wallet codes?

@cprecioso
Copy link
Contributor Author

Nope, only downloading the games. It doesn't even let you play them unless you have Steam installed (or if it is a DRM-free game).

@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants