litespeedtech / ls-cloud-image

GNU General Public License v3.0
36 stars 38 forks source link

per-instance.sh: Fix syntax error #25

Closed merkys7 closed 3 years ago

merkys7 commented 3 years ago

Please add shell syntax PR builder, second time I create PR to upstream with shell syntax error fix @Code-Egg

Line 539:
    if [ "${PROVIDER}" = 'do' ] || [ "${PROVIDER}" = 'vultr' ] || [ "${PROVIDER}" = 'linode' ]; then
>>                                                                                              ^-- SC1009: The mentioned syntax error was in this then clause.
Line 541:
        if [ ${?} = 1 ];
        ^-- SC1049: Did you forget the 'then' for this 'if'?
        ^-- SC1073: Couldn't parse this if expression. Fix to allow more checks.
Line 544:
        fi
        ^-- SC1050: Expected 'then'.
          ^-- SC1072: Unexpected keyword/token. Fix any mentioned problems and try again.
Code-Egg commented 3 years ago

Right, thanks again.