changeset 5199:29d79741c2fe

Fix quoting of EXTRAS in packaging script Otherwise test -f always returns true
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 08 Mar 2013 11:18:38 +0100
parents edba92337204
children 42bb6ff78d1b
files contrib/make_flys_release/bin/make-importer-package.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/make_flys_release/bin/make-importer-package.sh	Fri Mar 08 10:29:30 2013 +0100
+++ b/contrib/make_flys_release/bin/make-importer-package.sh	Fri Mar 08 11:18:38 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 ]; then
+if [ -f "$EXTRAS" ]; then
     cd $PKG_DIR
-    tar -xzf $EXTRAS
+    tar -xzf "$EXTRAS"
 fi
 
 cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema

http://dive4elements.wald.intevation.org