LowPowerLab / ATX-Raspi

ATXRaspi is a smart power controller for RaspberryPi that allows you to have an external ATX style shutdown button

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'print "\n' issues

awilliam opened this issue · comments

The lines like:

print"\n========...

Are getting installed in the resulting script as:

print "
=====...

Which is invalid syntax.

Installed with sh ./shutdownchecksetup.sh

Where sh is dash 0.5.7-4

My guess it's probably dash on debian that's doing this.
Works OK with bash, as per instructions.

BTW the script is marked as #!/bin/bash and should be run with bash.