On Wed, 30 Sep 2020 18:35:24 +0100, RobH declaimed the
following:
>rob@rob-Z97:~/Pi_lcd/lcd-master$ sh -n ./install.sh
>./install.sh: 34: ./install.sh: Syntax error: end of file unexpected
>(expecting "then")
>
So it is seeing an incomplete IF construct...
>
>Update:
>I copied and pasted the 33 lines into a new file and named it instal.sh,
>then ran it.
>Result:no errors apart from this one during the install process:
>
>ImportError: No module named RPi.GPIO
>./instal.sh: line 15: [: =: unary operator expected
Now, how about running a DIFF on the two, and showing the result.
diff instal.sh install.sh
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|