diff 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
line wrap: on
line diff
--- a/contrib/make_flys_release/bin/make-importer-package.sh	Thu Mar 07 11:25:31 2013 +0100
+++ b/contrib/make_flys_release/bin/make-importer-package.sh	Thu Mar 07 11:59:08 2013 +0100
@@ -42,9 +42,9 @@
     ${FLYS_DIR}/flys-backend/contrib/import_river.sh \
     $PKG_DIR
 cp ${FLYS_DIR}/flys-backend/doc/annotation-types.xml $PKG_DIR/conf
-if [ -f $EXTRAS ];
+if [ -f $EXTRAS ]; then
     cd $PKG_DIR
-    tar -xzf $1
+    tar -xzf $EXTRAS
 fi
 
 cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema
@@ -56,4 +56,4 @@
 DATE=$(date +%Y%m%d%H%m)
 tar -czf flys-importer_${DATE}.tar.gz flys-importer
 sha1sum flys-importer_${DATE}.tar.gz > flys-importer_${DATE}.tar.gz.sha1
-echo Package is at: `readlink -f flys-importer${DATE}.tar.gz`
+echo Package is at: `readlink -f flys-importer_${DATE}.tar.gz`

http://dive4elements.wald.intevation.org