aboutsummaryrefslogtreecommitdiff
path: root/core/cpt/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-28 01:42:51 +0300
committerCem Keylan <cem@ckyln.com>2020-12-28 01:42:51 +0300
commitb02a1ceae92caa07a66a253b776071ad83920f34 (patch)
treee7203260ff331897e888f45edee73d5d9d86f113 /core/cpt/build
parent3ebbf97f41d658d56896944eb1ca20c38505f80d (diff)
downloadrepository-b02a1ceae92caa07a66a253b776071ad83920f34.tar.gz
cpt: move to git revision on experimental branch
Diffstat (limited to 'core/cpt/build')
-rwxr-xr-xcore/cpt/build5
1 files changed, 2 insertions, 3 deletions
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"