1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.iotlab: evaluate IOTLAB_LOGGING correctly for iotlab-exp

This commit is contained in:
Cenk Gündoğan 2016-05-24 11:56:15 +02:00
parent 0909eba5ae
commit f73b226c67

View File

@ -48,7 +48,7 @@ iotlab-exp: $(IOTLAB_AUTH) all
$(eval NEW_ID := $(shell experiment-cli submit -d $(IOTLAB_DURATION) $(NODES_PARAM) -n $(IOTLAB_EXP_NAME) | grep -Eo '[[:digit:]]+'))
$(AD)experiment-cli wait -i $(NEW_ID)
ifdef $(IOTLAB_LOGGING)
ifdef IOTLAB_LOGGING
$(AD)ssh -t $(IOTLAB_AUTHORITY) "tmux new -d -s riot-$(NEW_ID)\
'script -fac "'"'"serial_aggregator -i $(NEW_ID)"'"'"\
RIOT_LOG-$(IOTLAB_EXP_NAME)-$(NEW_ID)'"