From 346b7627c55502709101310277f10c3df32f7c56 Mon Sep 17 00:00:00 2001 From: kohleman <kohleman> Date: Wed, 15 Dec 2010 13:06:01 +0000 Subject: [PATCH] moved if into the plugins for loop SVN: 19152 --- openbis_all/source/bash/sprint_install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/openbis_all/source/bash/sprint_install.sh b/openbis_all/source/bash/sprint_install.sh index 889c6fd6b73..ee3a420ad01 100755 --- a/openbis_all/source/bash/sprint_install.sh +++ b/openbis_all/source/bash/sprint_install.sh @@ -68,9 +68,11 @@ fi echo Installing datastore server... cd .. unzip -q ../datastore_server-*$VER* -if [ -f ../datastore_server_plugin-* ]; then - for file in ../datastore_server_plugin-*$VER*; do unzip -q -d datastore_server $file; done -fi +for file in ../datastore_server_plugin-*$VER*; do + if [ -f $file ]; then + unzip -q -d datastore_server $file; + fi +done cd datastore_server cp -p $CONFIG_DIR/datastore_server-service.properties etc/service.properties if [ -f $KEYSTORE ]; then -- GitLab