Remove whitespace when setting variables in bash script