about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/op/openrussian-cli/use-mawk.patch
blob: d0cfa814bae3ca621f6c57fe68e6465ecc1195e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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