/[svn]/linuxsampler/branches/release0_5_1/scripts/create_instr_db.sh
ViewVC logotype

Annotation of /linuxsampler/branches/release0_5_1/scripts/create_instr_db.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1569 - (hide annotations) (download) (as text)
Thu Dec 6 19:51:21 2007 UTC (16 years, 5 months ago) by (unknown author)
File MIME type: application/x-sh
File size: 446 byte(s)
This commit was manufactured by cvs2svn to create branch 'release0_5_1'.
1 iliev 1161 #!/bin/sh
2    
3     MYDIR="`dirname $0`"
4     INSTR_DB="$MYDIR/../instruments.db"
5     SQLITE="`which sqlite3`"
6    
7     echo "Creating the instrument's DB..."
8    
9     if [ ! -x "$SQLITE" ] ; then
10     echo "Can't find sqlite3" 1>&2
11     exit -1
12     fi
13    
14     if [ -e "$INSTR_DB" ] ; then
15     echo "DB file exists ($INSTR_DB); Skipping..."
16     echo "To recreate the instrument DB remove the old DB file first."
17     exit
18     fi
19    
20     $SQLITE -line $INSTR_DB < "$MYDIR/create_instr_db.sql"
21    
22     echo "Done"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC