bash programming error : variable != $variable