summaryrefslogtreecommitdiff
path: root/bibisect/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-10-22 11:37:29 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-10-22 11:49:27 +0200
commit7e9a2976cdfa0adee9b077e73acf78fed6be380e (patch)
tree45944c3b404d7192511a51bbfaf4f69eb6afa090 /bibisect/Makefile
parent8ef490cebaf16778f18896448fa454c158368cef (diff)
bibisect update tweaks
Change-Id: I9016e8351036f4b0edcd52fc7fa29d68cc43e903
Diffstat (limited to 'bibisect/Makefile')
-rwxr-xr-xbibisect/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/bibisect/Makefile b/bibisect/Makefile
index 79f6102..e2899bf 100755
--- a/bibisect/Makefile
+++ b/bibisect/Makefile
@@ -33,6 +33,7 @@ BINREPO:=$(WORKDIR)/binrepo
BUILDDIR:=$(WORKDIR)/build
ARTIFACTDIR:=$(WORKDIR)/artifact
ORDERMODE?=master
+SHELL:=/bin/bash
ifeq ($(ORDERMODE),master)
SOURCETYPE:=hash
@@ -90,7 +91,11 @@ endif
ifeq ($(ORDERMODE),tags)
$(WORKDIR)/buildorder: $(WORKDIR)/init
- git --git-dir=$(SOURCEREPO) tag|grep ^libreoffice|sed -e 's/\./-/g'|paste - <(git --git-dir=$(SOURCEREPO) tag|grep ^libreoffice)|sort|cut -f2 > $@
+ git --git-dir=$(SOURCEREPO) tag|grep ^libreoffice|sed -e 's/\./-/g'|paste - <(git --git-dir=$(SOURCEREPO) tag|grep ^libreoffice)|sort|cut -f2| \
+ awk \
+ 'BEGIN { last="$@" } \
+ { current="$(WORKDIR)/milestone/" $$0; printf "%s: %s\n", current, last; last = current} \
+ END { printf "$(TO): %s\nall: $(TO)", last }' > $@
endif