diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-01-10 05:09:44 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-01-10 05:09:44 -0500 |
| commit | ce17faeb7bfe0844a6d7ab8e4d046cc674cf6f95 (patch) | |
| tree | 507b0afa06119092c6093b9973153a81c2dadf0a /bin/whatis2sqlite.pl | |
| parent | bda2441bed5f31f32b3a2abde659d15562bea0bf (diff) | |
| download | limnoria.slackfacts.plugins-ce17faeb7bfe0844a6d7ab8e4d046cc674cf6f95.tar.gz | |
Fix broken updates, use 15.0 tree.
Diffstat (limited to 'bin/whatis2sqlite.pl')
| -rwxr-xr-x | bin/whatis2sqlite.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/whatis2sqlite.pl b/bin/whatis2sqlite.pl index b91f98d..d5f1c6c 100755 --- a/bin/whatis2sqlite.pl +++ b/bin/whatis2sqlite.pl @@ -76,9 +76,9 @@ sub make_sql { return if $seen{"$page^^$sect"}++; - # 15.0 has double-quotes in some descriptions. - $desc =~ s/"/""/g; + # 15.0 has single-quotes in some descriptions. + $desc =~ s/'/''/g; print <<EOF -insert into whatis values (null, "$page", "$sect", "$desc"); +insert into whatis values (null, '$page', '$sect', '$desc'); EOF } |
