-
Notifications
You must be signed in to change notification settings - Fork 43
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
If pico_setup.sh fails during install it can't be re-run #10
Comments
Happy to accept a PR that checks for the directory before trying to create it. |
It should just be replacing mkdir with mkdir -p which will make directories 'as necessary' and since it doesn't need to doesn't bother! |
#6 already fixes a similar problem that was spotted by somebody on the forums, but I didn't think to test it myself to see if there were any other failure-points! I'll do that today 🙂 |
If the script fails on the first try, and is re-run later, it fails for two reasons: - The `mkdir build` commands fail - The `git clone` for `picoprobe` and `picotool` fail because those repos have already been cloned. This PR fixes these issues. This will also supersede/obsolete raspberrypi#6 and fix raspberrypi#10.
Many thanks! The maintainer will take a look soon as he has a chance. |
If you get any failure attempting to run pico-setup.sh then that script can't be rerun.
It barfs on
The quick hack to get round that is
but it really should include code to allow a sane re-run.
The text was updated successfully, but these errors were encountered: