Просмотр исходного кода

Merge branch 'support-nongnu-date' of https://github.com/rabbitmq/erlang.mk

Loïc Hoguin 9 лет назад
Родитель
Сommit
fed9ce4ad4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -48,7 +48,7 @@ summary:
 	@touch test/logs/latest.log test/packages/errors.log
 	-@sort test/packages/errors.log | diff test/logs/latest.log -
 	@sort test/packages/errors.log > test/logs/latest.log
-	@cp test/logs/latest.log "test/logs/$(subst $(empty) $(empty),_,$(shell date --rfc-3339 seconds))"
+	@cp test/logs/latest.log "test/logs/$(shell date '+%F_%T%z')"
 
 search:
 	@$(MAKE) --no-print-directory \