summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Info.plist6
-rwxr-xr-xsrc/index.rb4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Info.plist b/src/Info.plist
index f94b2c9..2850204 100644
--- a/src/Info.plist
+++ b/src/Info.plist
@@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
- <string>gnuautomake</string>
+ <string>gnuautoconf</string>
<key>CFBundleName</key>
- <string>GNU Automake</string>
+ <string>GNU Autoconf</string>
<key>DocSetPlatformFamily</key>
- <string>automake</string>
+ <string>autoconf</string>
<key>isDashDocset</key>
<true/>
</dict>
diff --git a/src/index.rb b/src/index.rb
index 9c66c81..3dc8468 100755
--- a/src/index.rb
+++ b/src/index.rb
@@ -9,10 +9,10 @@ INSERT_SQL = %Q[
INSERT INTO searchIndex(name, type, path) VALUES ('%s','%s','%s');
]
-PATTERN = %r[<title>(.*)\(automake\)(.*)</title>]
+PATTERN = %r[<title>(.*)\(Autoconf\)(.*)</title>]
def quote(s)
- s.gsub(/&amp;/, '&').gsub(/'/, "\\'")
+ s.gsub(/&amp;/, '&').gsub(/'/, "\\'").gsub(/&lt;/, '<')
end
ARGV.each do |arg|