forked from analogdevicesinc/plutosdr-fw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5db6501
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for letting us know.
You should be able to change the grep in line 167 to "... | grep -E '301|302' | ..." since you are doing the same thing (getting the url) in both cases...
If that works - let me know, and i can change that upstream.
5db6501
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, overlooked the easy route, apparently. :) While this does work, there are still cases where I get stuck in a malformed URL error from curl, over and over. I think there is room for improvement in that while/loop to avoid an infinite loop when unexpected responses are encountered. (I didn't save the example/error, sorry.)
5db6501
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's the other example I'm getting, though maybe not helpful. Happy to test.
unknown error while trying /gnu/ftp/gnu/wget
curl: (3) malformed
unknown error while trying /gnu/ftp/gnu/wget
curl: (3) malformed
unknown error while trying /gnu/ftp/gnu/wget
curl: (3) malformed
unknown error while trying /gnu/ftp/gnu/wget
curl: (3) malformed
unknown error while trying /gnu/ftp/gnu/wget
curl: (3) malformed
unknown error while trying /gnu/ftp/gnu/wget
curl: (3) malformed
unknown error while trying /gnu/ftp/gnu/wget
curl: (3) malformed
^CMakefile:91: recipe for target 'buildroot/output/images/rootfs.cpio.gz' failed
make: *** [buildroot/output/images/rootfs.cpio.gz] Interrupt
5db6501
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, obvious answer right in my face. :) A break @ 177 would do it.