[Dive4elements-commits] [PATCH] Fix quoting of EXTRAS in packaging script
Wald Commits
scm-commit at wald.intevation.org
Fri Mar 8 11:18:42 CET 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1362737918 -3600
# Node ID 29d79741c2fef466b7b3d9cf0dd86d18bed24566
# Parent edba92337204024054e3f8124e87a29814b6bf1d
Fix quoting of EXTRAS in packaging script
Otherwise test -f always returns true
diff -r edba92337204 -r 29d79741c2fe contrib/make_flys_release/bin/make-importer-package.sh
--- 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
More information about the Dive4elements-commits
mailing list