Mercurial > dive4elements > river
comparison contrib/make_flys_release/bin/make-importer-package.sh @ 5186:801866a89ee0
Fix syntax error in importer packaging script
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 07 Mar 2013 11:59:08 +0100 |
parents | 4355b4cecef8 |
children | 29d79741c2fe |
comparison
equal
deleted
inserted
replaced
5185:25cafe0a974d | 5186:801866a89ee0 |
---|---|
40 cp ${FLYS_DIR}/flys-backend/contrib/run_geo.sh \ | 40 cp ${FLYS_DIR}/flys-backend/contrib/run_geo.sh \ |
41 ${FLYS_DIR}/flys-backend/contrib/run_hydr_morph.sh \ | 41 ${FLYS_DIR}/flys-backend/contrib/run_hydr_morph.sh \ |
42 ${FLYS_DIR}/flys-backend/contrib/import_river.sh \ | 42 ${FLYS_DIR}/flys-backend/contrib/import_river.sh \ |
43 $PKG_DIR | 43 $PKG_DIR |
44 cp ${FLYS_DIR}/flys-backend/doc/annotation-types.xml $PKG_DIR/conf | 44 cp ${FLYS_DIR}/flys-backend/doc/annotation-types.xml $PKG_DIR/conf |
45 if [ -f $EXTRAS ]; | 45 if [ -f $EXTRAS ]; then |
46 cd $PKG_DIR | 46 cd $PKG_DIR |
47 tar -xzf $1 | 47 tar -xzf $EXTRAS |
48 fi | 48 fi |
49 | 49 |
50 cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema | 50 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 | 51 cp ${FLYS_DIR}/flys-backend/doc/documentation/de/importer-manual.pdf $PKG_DIR |
52 | 52 |
54 | 54 |
55 cd $PKG_DIR/.. | 55 cd $PKG_DIR/.. |
56 DATE=$(date +%Y%m%d%H%m) | 56 DATE=$(date +%Y%m%d%H%m) |
57 tar -czf flys-importer_${DATE}.tar.gz flys-importer | 57 tar -czf flys-importer_${DATE}.tar.gz flys-importer |
58 sha1sum flys-importer_${DATE}.tar.gz > flys-importer_${DATE}.tar.gz.sha1 | 58 sha1sum flys-importer_${DATE}.tar.gz > flys-importer_${DATE}.tar.gz.sha1 |
59 echo Package is at: `readlink -f flys-importer${DATE}.tar.gz` | 59 echo Package is at: `readlink -f flys-importer_${DATE}.tar.gz` |