./couchbase-cli
File "/opt/couchbase/lib/python/couchbase-cli", line 3
D0=(cd “$(dirname “$0”)” && pwd)
^
SyntaxError: invalid syntax
It seems like the /opt/couchbase/lib/python/couchbase-cli contains a copy of the shell script, instead of a python script. How can I fix this?