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

OracleRestDataServices/dockerfiles/buildDockerImage.sh issue with awk on MacOS #644

Closed
martindsouza opened this issue Nov 9, 2017 · 1 comment

Comments

@martindsouza
Copy link
Contributor

When running OracleRestDataServices/dockerfiles/buildDockerImage.sh get the following error:

awk: syntax error at source line 1
 context is
	match ($0, >>>  /(ords\.)(.{1,2}\..{1,2}\..{1,2})\.(.+.zip)/, <<<
awk: bailing out at source line 1

After doing some digging it looks like the 3 parameter awk is only available for gawk. See this SO article, specifically the comments on the suggested fix:

oh, it's gawk... from stackoverflow.com/questions/5536018/… "the awk match() function with three arguments only exists in gawk"

@gvenzl
Copy link
Member

gvenzl commented Nov 10, 2017

I'm closing this as the PR has been merged.

@gvenzl gvenzl closed this as completed Nov 10, 2017
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

No branches or pull requests

2 participants