Fixed wrong use of brackets in shell script.