From b7e59a10f40189729ac4d1ac9827dd1ffffc6ef2 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 30 Aug 2022 19:20:27 +0200 Subject: [PATCH] newlines --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2a2cd54..5a18a0f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,12 +11,12 @@ steps: - rm -f lastknownhostips - cat hosts - for h in $(cat hosts); do echo $h; echo $h; done - - for h in $(cat hosts); do mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 | tr -d '\n'; done >lastknownips - - for h in $(cat hosts); do echo -n "$h," >>lastknownhostips; mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 | tr -d '\n' >>lastknownhostips; done + - for h in $(cat hosts); do mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1; done >lastknownips + - for h in $(cat hosts); do echo -n "$h," >>lastknownhostips; mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 >>lastknownhostips; done # - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n' # - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n' >lastknownip - - cat lastknownips - cat lastknownhostips + - cat lastknownips - name: build image image: suculent/platformio-docker-build commands: