-
Notifications
You must be signed in to change notification settings - Fork 4
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
ska3-template is broken on osx due to sed POSIX thingy #26
Comments
Might also be able to just put the "-i" after the command. |
I just looked and on linux the |
Gotcha, which explains why it was working on linux (not magically understanding that my command string wasn't a file extension, just no characters directly after the -i). |
And which probably also means I didn't test #28 correctly on linux. I'll make sure I have a works-on-both solution in the PR before I'm done. |
Closed by #28 (which eliminates sed entirely) |
Basically, I think I need to replace
with
I think the explicit empty string is needed for the -i option to the sed command. From the help it is really "sed [-i extension]" and it looks like on linux sed must be smart enough to figure out that the "searchandreplace" command is a command and not a file extension if you neglect to put something for the inplace file extension.
I think this won't need to build on osx if we can noarch the template, but all the recipes should really work.
Without the empty string for -i, on the mac I get something like
The text was updated successfully, but these errors were encountered: