File: rewrite_tide_db.sh

package info (click to toggle)
tcd-utils 20061127-2
  • links: PTS
  • area: main
  • in suites: bullseye, jessie, jessie-kfreebsd, lenny, sid, squeeze, stretch, wheezy
  • size: 604 kB
  • ctags: 44
  • sloc: ansic: 4,587; sh: 808; makefile: 58
file content (9 lines) | stat: -rwxr-xr-x 201 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e
if [ -z "$2" ]; then
  echo Usage: rewrite_tide_db infile outfile
  exit
fi
./restore_tide_db "$1" deleteme
./build_tide_db "$2" deleteme.txt deleteme.xml
rm deleteme.txt deleteme.xml