mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
Make Numulus compile on macOS (#1070)
* Make Numulus compile on macOS BSD sed behaves differently than Linux sed. By adding a "-e" flag the comand works in both systems. See: https://unix.stackexchange.com/questions/101059/sed-behaves-different-on-freebsd-and-on-linux * Make the regex easier to understand
This commit is contained in:
parent
398a7183e7
commit
286b8dd268
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ task jaxbToJava {
|
|||
}
|
||||
}
|
||||
execInBash(
|
||||
'find . -name *.java -exec sed -i /\\*\\ \\<p\\>\\$/d {} +',
|
||||
"find . -name *.java -exec sed -i -e '/" + /\* <p>$/ + "/d' {} +",
|
||||
generatedDir)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue