aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqliteWx/add_prefix.sh
blob: e04f3e5d3939f14f7d04764fd16d1f31299874d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env tclsh

proc process {f} {
  set fd [open $f r]
  set data [read $fd]  
  close $fd
  
  set data [string map [list sqlite3 wx_sqlite3] $data]
  
  set fd [open $f w]
  puts $fd $data
  close $fd
}

foreach f {
	wxsqlite3.c
	wxsqlite3.h
	sqlite3ext.h
	sqlite3secure.c
	sqlite3userauth.h
	userauth.c
	extensionfunctions.c
	codec.c
	codec.h
	codecext.c
	csv.c
	rijndael.c
	rijndael.h
	sha2.h
	sha2.c
} {
	process $f
}