comparison contrib/make_flys_release/bin/make-importer-package.sh @ 5528:33d735f5433e

Merged.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 02 Apr 2013 08:58:24 +0200
parents d5e1e4d9559e
children cff1eea9854f
comparison
equal deleted inserted replaced
5527:6dbc111e9aec 5528:33d735f5433e
2 set -e 2 set -e
3 3
4 # See README for more information 4 # See README for more information
5 5
6 # The working directory. Resulting tarball will be placed in the directory above. 6 # The working directory. Resulting tarball will be placed in the directory above.
7 PKG_DIR=/tmp/flys-importer 7 PKG_DIR=~/tmp/flys-importer
8 # Default conf
9 CONF_DIR=/path/to/conf/dir
10 # Path to the flys checkout 8 # Path to the flys checkout
11 FLYS_DIR=/path/to/flys/root 9 FLYS_DIR=~/flys/flys/
12 # Tarball that will be extracted into flys-imprter/opt 10 # Tarball that will be extracted into flys-imprter/opt
13 EXTRAS=$1 11 EXTRAS=$1
14 12
15 rm -fr $PKG_DIR 13 rm -fr $PKG_DIR
16 mkdir -p $PKG_DIR/hydr_morph 14 mkdir -p $PKG_DIR/hydr_morph
46 cd $PKG_DIR 44 cd $PKG_DIR
47 tar -xzf "$EXTRAS" 45 tar -xzf "$EXTRAS"
48 fi 46 fi
49 47
50 cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema 48 cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema
51 cp ${FLYS_DIR}/flys-backend/doc/documentation/de/importer-manual.pdf $PKG_DIR 49
50 cd ${FLYS_DIR}/flys-backend/doc/documentation/de/
51 make importer-manual.pdf
52 cp importer-manual.pdf $PKG_DIR
52 53
53 sed -i 's/shpimporter\/shp/geodaesie\/shp/' $PKG_DIR/run_geo.sh 54 sed -i 's/shpimporter\/shp/geodaesie\/shp/' $PKG_DIR/run_geo.sh
54 55
55 cd $PKG_DIR/.. 56 cd $PKG_DIR/..
56 DATE=$(date +%Y%m%d%H%M) 57 DATE=$(date +%Y%m%d%H%M)

http://dive4elements.wald.intevation.org