after the update i got this errror

Code:
root@bt:~# bash wiffy.sh -u[*] wiffy v0.1 (#5)
[>] Checking for an update...
[i] Updating...
[i] Updated to ed Rev: 26. (=

root@bt:~# bash wiffy.sh
wiffy.sh: line 589: syntax error near unexpected token `}'
wiffy.sh: line 589: `}'