Commit c5e9db6a9b3e8d5b5be069048ad22c3e7864d219
1 parent
95a4fc5eca
Exists in
master
update
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
install.sh
... | ... | @@ -214,7 +214,7 @@ |
214 | 214 | scp -r ${username}@nyx:/local/OTMEDIA/OTMEDIA_DATA/SOLR/otmedia-2013-04.tar.gz $OTMEDIA_HOME/tools/SOLR |
215 | 215 | echo -e "Unzip SOLR DB\r" |
216 | 216 | res=0 |
217 | - res = $(tar -xvzf "$OTMEDIA_HOME/tools/SOLR/otmedia-2013-04.tar.gz" "$OTMEDIA_HOME/tools/SOLR/") | |
217 | + res=$(tar -xvzf "$OTMEDIA_HOME/tools/SOLR/otmedia-2013-04.tar.gz" -C "$OTMEDIA_HOME/tools/SOLR/") | |
218 | 218 | if [ $res -eq 2 ]; then echo " ${txtred}NOT OK${txtrst}"; |
219 | 219 | else echo " ${txtgrn}OK${txtrst}"; fi |
220 | 220 | else |