[Dive4elements-commits] [PATCH] Fix syntax error in importer packaging script

Wald Commits scm-commit at wald.intevation.org
Thu Mar 7 11:59:25 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1362653948 -3600
# Node ID 801866a89ee097e0473a4ae8cf2232460cc9b4fc
# Parent  25cafe0a974d3cb65c37e8d00b3914c1279645dc
Fix syntax error in importer packaging script

diff -r 25cafe0a974d -r 801866a89ee0 contrib/make_flys_release/bin/make-importer-package.sh
--- 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`


More information about the Dive4elements-commits mailing list