Ksh Set Variable Bash Script If Statement