aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqliteSystemData/fix_files.sh
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2018-07-27 23:51:12 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2018-07-27 23:51:12 -0400
commitfeda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (patch)
tree1e50f5f666f419143f510d5ded00fe2006b7bd85 /Plugins/DbSqliteSystemData/fix_files.sh
parentd9aa870e5d509cc7309ab82dd102a937ab58613a (diff)
New upstream version 3.2.1+dfsg1upstream/3.2.1+dfsg1
Diffstat (limited to 'Plugins/DbSqliteSystemData/fix_files.sh')
-rw-r--r--Plugins/DbSqliteSystemData/fix_files.sh41
1 files changed, 0 insertions, 41 deletions
diff --git a/Plugins/DbSqliteSystemData/fix_files.sh b/Plugins/DbSqliteSystemData/fix_files.sh
deleted file mode 100644
index fcc7505..0000000
--- a/Plugins/DbSqliteSystemData/fix_files.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env tclsh
-
-proc process {f} {
- set fd [open $f r]
- set data [read $fd]
- close $fd
-
- #set data [string map [list systemdata_systemdata_ systemdata_] $data]
- set data [string map [list sqlite3 systemdata_sqlite3 ../core/ ""] $data]
-
- set fd [open $f w]
- puts $fd $data
- close $fd
-}
-
-foreach f {
- systemdata_sqlite3.c
- systemdata_sqlite3.h
- systemdata_sqlite3ext.h
- systemdata_interop.c
- systemdata_extension-functions.c
- systemdata_crypt.c
-} {
- process $f
-}
-
-# Concat
-set targetFile systemdata_sqlite3.c
-set srcFiles {
- systemdata_interop.c
- systemdata_crypt.c
- systemdata_extension-functions.c
-}
-
-set trgFd [open $targetFile a+]
-foreach f $srcFiles {
- set fd [open $f r]
- puts $trgFd [read $fd]
- close $fd
-}
-close $trgFd