Description of changes:
I had a similar error of #1 while trying to update scoop, saying The syntax of the command is incorrect. I try to debug it by adding some echo printouts aroung the file and returned < was unexpected at this time, which is the same as #1. And then I see the problem, for some reason, saving it from raw returns Unix (LF) line break type and not Windows (CR LF) line break type, setting line break type to that fixes it and the error does not happen anymore.
Updated installation instructions to reflect that and should prevent those errors from happening for new users.
Issue #, if available:
1
Description of changes: I had a similar error of #1 while trying to update scoop, saying
The syntax of the command is incorrect
. I try to debug it by adding some echo printouts aroung the file and returned< was unexpected at this time
, which is the same as #1. And then I see the problem, for some reason, saving it from raw returns Unix (LF) line break type and not Windows (CR LF) line break type, setting line break type to that fixes it and the error does not happen anymore.Updated installation instructions to reflect that and should prevent those errors from happening for new users.