From c5e9db6a9b3e8d5b5be069048ad22c3e7864d219 Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Tue, 13 Aug 2013 14:04:18 +0200 Subject: [PATCH] update --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 0efdede..35f4191 100755 --- a/install.sh +++ b/install.sh @@ -214,7 +214,7 @@ then scp -r ${username}@nyx:/local/OTMEDIA/OTMEDIA_DATA/SOLR/otmedia-2013-04.tar.gz $OTMEDIA_HOME/tools/SOLR echo -e "Unzip SOLR DB\r" res=0 - res = $(tar -xvzf "$OTMEDIA_HOME/tools/SOLR/otmedia-2013-04.tar.gz" "$OTMEDIA_HOME/tools/SOLR/") + res=$(tar -xvzf "$OTMEDIA_HOME/tools/SOLR/otmedia-2013-04.tar.gz" -C "$OTMEDIA_HOME/tools/SOLR/") if [ $res -eq 2 ]; then echo " ${txtred}NOT OK${txtrst}"; else echo " ${txtgrn}OK${txtrst}"; fi else -- 1.8.2.3