# The error message suggests that the script you're invoking has embedded
characters,
# which in turn suggests that it has Windows-style
line endings instead of the
-only
# line endings bash expects.
# As a quick fix, you can remove the
chars. as follows:
sed $'s/
$//' ./install.sh > ./install.Unix.sh