aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-12 14:51:17 +0300
committerCem Keylan <cem@ckyln.com>2019-12-12 14:51:17 +0300
commitba05cc604981e6ab9e96d624925650ba63002461 (patch)
tree4d9ac35eb581065fade13c26e356922e9c9dc020 /testing
parent6be99255607e50a18e76e7b28e31c24a39ab3fea (diff)
downloadrepository-ba05cc604981e6ab9e96d624925650ba63002461.tar.gz
socklog: fix build
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/socklog/build12
-rw-r--r--testing/socklog/version2
2 files changed, 8 insertions, 6 deletions
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