diff --git a/.github/workflows/mqtt-sn-check.yml b/.github/workflows/mqtt-sn-check.yml index 29c74279d..bd9181601 100644 --- a/.github/workflows/mqtt-sn-check.yml +++ b/.github/workflows/mqtt-sn-check.yml @@ -44,21 +44,21 @@ jobs: - name: Write config to change broker working-directory: ./gateway/MQTTSNGateway/bin run: | - echo $"GatewayID=1\n" \ - $"GatewayName=PahoGateway-01\n" \ - $"MaxNumberOfClients=30\n" \ - $"KeepAlive=60\n" \ - $"BrokerName=localhost\n" \ - $"BrokerPortNo=1883\n" \ - $"AggregatingGateway=NO\n" \ - $"QoS-1=NO\n" \ - $"Forwarder=NO\n" \ - $"PredefinedTopic=NO\n" \ - $"ClientAuthentication=NO\n" \ - $"GatewayPortNo=10000\n" \ - $"MulticastPortNo=1883\n" \ - $"MulticastIP=225.1.1.1\n" \ - $"MulticastTTL=1" | cat > gateway.conf + echo -e "GatewayID=1" "" \ + "GatewayName=PahoGateway-01" "" \ + "MaxNumberOfClients=30" "" \ + "KeepAlive=60" "" \ + "BrokerName=localhost" "" \ + "BrokerPortNo=1883" "" \ + "AggregatingGateway=NO" "" \ + "QoS-1=NO" "" \ + "Forwarder=NO" "" \ + "PredefinedTopic=NO" "" \ + "ClientAuthentication=NO" "" \ + "GatewayPortNo=10000" "" \ + "MulticastPortNo=1883" "" \ + "MulticastIP=225.1.1.1" "" \ + "MulticastTTL=1" | cat > gateway.conf - name: Display gateway config working-directory: ./gateway/MQTTSNGateway/bin run: more gateway.conf