comparison contrib/make_flys_release/h2/createArtifacts.sh @ 5259:7a11271f5593

Merged
author Sascha L. Teichmann <teichmann@intevation.de>
date Tue, 12 Mar 2013 19:16:05 +0100
parents 3ba2917e49d3
children 19472d3877d6
comparison
equal deleted inserted replaced
5258:da1e897c7224 5259:7a11271f5593
1 #!/bin/bash 1 #!/bin/bash
2 2
3 mkdir artifactsdb 3 mkdir -p artifactsdb
4 4
5 DIR=`dirname $0` 5 DIR=`dirname $0`
6 DIR=`readlink -f "$DIR"` 6 DIR=`readlink -f "$DIR"`
7 7
8 CLASSPATH= 8 CLASSPATH=
10 CLASSPATH=$CLASSPATH:$l 10 CLASSPATH=$CLASSPATH:$l
11 done 11 done
12 12
13 export CLASSPATH 13 export CLASSPATH
14 14
15 if [ $# != 1 ]; then
16 echo "Usage: $0 <schema_file>"
17 fi
18
15 java org.h2.tools.RunScript \ 19 java org.h2.tools.RunScript \
16 -url jdbc:h2:`readlink -f artifactsdb`/artifacts \ 20 -url jdbc:h2:`readlink -f artifactsdb`/artifacts \
17 -script $DIR/artifacts-h2.sql 21 -script "$1"

http://dive4elements.wald.intevation.org