From ba05cc604981e6ab9e96d624925650ba63002461 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 12 Dec 2019 14:51:17 +0300 Subject: socklog: fix build --- testing/socklog/build | 12 +++++++----- testing/socklog/version | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'testing') diff --git a/testing/socklog/build b/testing/socklog/build index d13d124c..2aafe76d 100755 --- a/testing/socklog/build +++ b/testing/socklog/build @@ -13,19 +13,21 @@ mkdir -p "$1/usr/share/man/man1" "$1/usr/share/man/man8" # Install programs and manpages for bin in command/*; do - cp "$bin" "$1/usr/bin/$bin" + cp "$bin" "$1/usr/bin/$(basename "$bin")" done for man1 in man/*.1; do - cp "$man1" "$1/usr/share/man/man1/$man1" + cp "$man1" "$1/usr/share/man/man1/$(basename $man1)" done for man8 in man/*.8; do - cp "$man1" "$1/usr/share/man/man8/$man8" + cp "$man1" "$1/usr/share/man/man8/$(basename $man8)" done +cd .. + install -Dm755 socklog-unix.run "$1/etc/sv/socklog-unix/run" -ln -s /run/runit/supervise.socklog "$1/etc/sv/socklog-unix/run" +ln -s /run/runit/supervise.socklog "$1/etc/sv/socklog-unix/supervise" install -Dm755 svlogd.run "$1/etc/sv/socklog-unix/log/run" -ln -s /run/runit/supervise.svlogd "$1/etc/sv/socklog-unix/log/run" +ln -s ../run/runit/supervise.svlogd "$1/etc/sv/socklog-unix/log/supervise" diff --git a/testing/socklog/version b/testing/socklog/version index ef862396..628fcdee 100644 --- a/testing/socklog/version +++ b/testing/socklog/version @@ -1 +1 @@ -2.1.0 1 +2.1.0 2 -- cgit v1.2.3