From b02a1ceae92caa07a66a253b776071ad83920f34 Mon Sep 17 00:00:00 2001
From: Cem Keylan <cem@ckyln.com>
Date: Mon, 28 Dec 2020 01:42:51 +0300
Subject: cpt: move to git revision on experimental branch

---
 core/cpt/build | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'core/cpt/build')

diff --git a/core/cpt/build b/core/cpt/build
index 11f03c51..0a4b365c 100755
--- a/core/cpt/build
+++ b/core/cpt/build
@@ -1,9 +1,8 @@
 #!/bin/sh -e
 
-make PREFIX=/usr DESTDIR="$1" install
+REDO=$(command -v redo) || REDO=./tools/do
+DESTDIR=$1 PREFIX=/usr "$REDO" install
 
 install -Dm644 cpt-base "$1/etc/cpt-base"
 install -Dm755 news     "$1/usr/bin/cpt-news"
 
-# TODO Remove this on the next release
-rm -f "$1/usr/bin/Makefile"
-- 
cgit v1.2.3