depot/third_party/nixpkgs/pkgs/by-name/op/openrussian-cli/use-mawk.patch
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

13 lines
436 B
Diff

diff --git a/Makefile b/Makefile
index 8fe3880..281ce2d 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ openrussian-sql.zip:
openrussian-sqlite3.db : openrussian-sql.zip mysql2sqlite postprocess.sql
$(RM) $@
- unzip -p $< openrussian.sql | awk -f ./mysql2sqlite - | sqlite3 $@
+ unzip -p $< openrussian.sql | mawk -f ./mysql2sqlite - | sqlite3 $@
sqlite3 $@ -batch <postprocess.sql
# Try to generate all possible pages