結果 : bash script set variable in if statement