From 95255a276d0bba912ac971a7bc6af3fd7661d4c1 Mon Sep 17 00:00:00 2001 From: Sergei Eremenko Date: Sat, 14 Oct 2017 00:05:40 +0300 Subject: [PATCH] Fix update_authors task in Makefile --- tools/work/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/work/Makefile b/tools/work/Makefile index 38f4793647..8249bb501d 100644 --- a/tools/work/Makefile +++ b/tools/work/Makefile @@ -1,4 +1,5 @@ ROOT := ../.. +THEMES := $(patsubst %/index.theme,%,$(wildcard $(ROOT)/*/index.theme)) all: @@ -31,8 +32,8 @@ tests: update_authors: editor "$(ROOT)/Papirus/AUTHORS" @for i in $(THEMES); do \ - [ $$i != "Papirus" ] || continue; \ - cp -vf "$(ROOT)/Papirus/AUTHORS" "$(ROOT)/$$i"; \ + [ $$i != "$(ROOT)/Papirus" ] || continue; \ + cp -vf "$(ROOT)/Papirus/AUTHORS" "$$i/"; \ done .PHONY: all clean convert prepare put tests update_authors