nixpkgs/pkgs/by-name/op/openrussian-cli/use-mawk.patch
2023-11-17 03:47:37 +10: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