fixed variable assignment in bash script for deploy