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

buildme issues in raspberry pi #176

Closed
MiltoxBeyond opened this issue May 26, 2014 · 3 comments · Fixed by #237
Closed

buildme issues in raspberry pi #176

MiltoxBeyond opened this issue May 26, 2014 · 3 comments · Fixed by #237

Comments

@MiltoxBeyond
Copy link

When I tried to execute the script it fails. I fixed the script with two small changes:

Line 6: /bin/bash -c "pushd build/raspberry/release"

and

Line 7: cmake -DCMAKE_BUILD_TYPE=Release .

This was on a fairly fresh installation of Raspbian.

The error was at the start: pushd not found
and after fixing that: cmakelists.txt was not found in '/' which wasn't where the buildme script was.

@DanNixon
Copy link

pushd is bash-specific, I guess your /bin/sh is not set to bash.
I guess the shebang should really be #!/bin/bash instead since this is used.

@MiltoxBeyond
Copy link
Author

Yup that would fix it :)

@popcornmix
Copy link
Contributor

I've updated buildme to use /bin/bash.
Is that okay now?

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 a pull request may close this issue.

3 participants